- 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'