foodsoft/app/views/article_categories/_form.html.haml

7 lines
236 B
Plaintext

= simple_form_for @article_category do |f|
= f.input :name
= f.input :description, as: :text, input_html: {class: 'input-xxlarge'}
.form-actions
= f.submit class: 'btn'
= link_to t('ui.or_cancel'), article_categories_path