2009-02-12 21:38:41 +01:00
|
|
|
- title "Neue Transaktion"
|
2009-01-10 21:28:22 +01:00
|
|
|
|
|
|
|
.edit_form{ :style => "width:30em" }
|
2009-02-12 21:38:41 +01:00
|
|
|
- form_for @financial_transaction, :url => {:action => 'create'} do |f|
|
2009-01-10 21:28:22 +01:00
|
|
|
= 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
|
2009-02-12 21:38:41 +01:00
|
|
|
Bestellgruppe:
|
2009-01-10 21:28:22 +01:00
|
|
|
%b=h @group.name
|
|
|
|
%p
|
2009-02-12 21:38:41 +01:00
|
|
|
Betrag
|
2009-01-10 21:28:22 +01:00
|
|
|
%br/
|
|
|
|
= f.text_field :amount, :size => 10
|
|
|
|
%p
|
2009-02-12 21:38:41 +01:00
|
|
|
Notiz
|
2009-01-10 21:28:22 +01:00
|
|
|
%br/
|
|
|
|
= f.text_area :note, :cols => 40, :rows => 5
|
|
|
|
%p
|
2009-02-12 21:38:41 +01:00
|
|
|
= submit_tag "Speichern"
|
|
|
|
|
|
|
|
|
= link_to "Abbrechen", :controller => 'transactions'
|