foodsoft/app/views/admin/financial_transaction_classes/_form.html.haml

10 lines
392 B
Text
Raw Normal View History

= simple_form_for [:admin, @financial_transaction_class], :validate => true, :remote => true do |f|
.modal-header
= close_button :modal
%h3= @financial_transaction_class.new_record? ? t('.title_new') : t('.title_edit')
.modal-body
= f.input :name
.modal-footer
= link_to t('ui.close'), '#', class: 'btn', data: {dismiss: 'modal'}
= f.submit class: 'btn btn-primary'