13 lines
443 B
Text
13 lines
443 B
Text
|
= simple_form_for [:admin, @bank_account], :validate => true, :remote => true do |f|
|
||
|
.modal-header
|
||
|
= close_button :modal
|
||
|
%h3= @bank_account.new_record? ? t('.title_new') : t('.title_edit')
|
||
|
.modal-body
|
||
|
= f.input :name
|
||
|
= f.input :iban
|
||
|
= f.input :description, as: :text
|
||
|
= f.input :balance
|
||
|
.modal-footer
|
||
|
= link_to t('ui.close'), '#', class: 'btn', data: {dismiss: 'modal'}
|
||
|
= f.submit class: 'btn btn-primary'
|