foodsoft/app/views/finance/transactions/new_collection.html.haml

20 lines
568 B
Text
Raw Normal View History

- title "Mehrer Konten aktualisieren"
2009-01-06 11:49:19 +01:00
- form_tag :action => "create_collection" do
2009-01-06 11:49:19 +01:00
%p
%b Notiz
2009-01-06 11:49:19 +01:00
= text_field_tag "note"
%p
%table#Ordergroups{:style => "width:20em"}
2009-01-06 11:49:19 +01:00
%tr
%th Bestellgruppe
%th Betrag
= render :partial => 'ordergroup', :collection => [1, 2, 3]
2009-01-06 11:49:19 +01:00
%p
= link_to_function "Neue Bestellgruppe hinzufügen" do |page|
- page.insert_html :bottom, :Ordergroups, :partial => 'ordergroup'
2009-01-06 11:49:19 +01:00
%p
= submit_tag "Transaktionen speichern"
2009-01-06 11:49:19 +01:00
|
= link_to "Abbrechen", :controller => 'finance/transactions'