foodsoft/app/views/finance/transactions/new.html.haml
2009-02-12 21:38:41 +01:00

21 lines
No EOL
507 B
Text

- title "Neue Transaktion"
.edit_form{ :style => "width:30em" }
- form_for @financial_transaction, :url => {:action => 'create'} do |f|
= f.error_messages
= f.hidden_field :ordergroup_id
%p
Bestellgruppe:
%b=h @group.name
%p
Betrag
%br/
= f.text_field :amount, :size => 10
%p
Notiz
%br/
= f.text_area :note, :cols => 40, :rows => 5
%p
= submit_tag "Speichern"
|
= link_to "Abbrechen", :controller => 'transactions'