2017-06-28 12:56:56 +02:00
|
|
|
= 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
|
2021-02-08 02:40:19 +01:00
|
|
|
= f.input :ignore_for_account_balance
|
2017-06-28 12:56:56 +02:00
|
|
|
.modal-footer
|
|
|
|
= link_to t('ui.close'), '#', class: 'btn', data: {dismiss: 'modal'}
|
|
|
|
= f.submit class: 'btn btn-primary'
|