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

20 lines
568 B
Plaintext

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