foodsoft/app/views/finance/financial_transactions/new.html.haml

13 lines
420 B
Text
Raw Normal View History

- title t('.title')
%p!= t('.paragraph', name: @ordergroup.name)
= simple_form_for @financial_transaction, :url => finance_ordergroup_transactions_path(@ordergroup),
:validate => true do |f|
= f.hidden_field :ordergroup_id
= f.input :amount
= f.input :note, :as => :text
.form-actions
= f.submit class: 'btn btn-primary'
= link_to t('ui.or_cancel'), finance_ordergroup_transactions_path(@ordergroup)