2009-01-10 21:28:22 +01:00
|
|
|
%h1 New transaction
|
|
|
|
|
|
|
|
.edit_form{ :style => "width:30em" }
|
|
|
|
- form_for(@financial_transaction, :url => { :action => 'create' }) do |f|
|
|
|
|
= f.error_messages
|
2009-01-14 12:46:01 +01:00
|
|
|
= f.hidden_field :ordergroup_id
|
2009-01-10 21:28:22 +01:00
|
|
|
%p
|
|
|
|
Group:
|
|
|
|
%b=h @group.name
|
|
|
|
%p
|
|
|
|
= f.label :amount
|
|
|
|
%br/
|
|
|
|
= f.text_field :amount, :size => 10
|
|
|
|
%p
|
|
|
|
= f.label :note
|
|
|
|
%br/
|
|
|
|
= f.text_area :note, :cols => 40, :rows => 5
|
|
|
|
%p
|
|
|
|
= submit_tag "Save"
|
|
|
|
|
|
|
|
= link_to "Back", :controller => 'transactions'
|