2009-01-06 11:49:19 +01:00
|
|
|
- title _("Update multiple accounts")
|
|
|
|
|
2009-01-10 21:28:22 +01:00
|
|
|
- form_tag :action => "create_collection" do
|
2009-01-06 11:49:19 +01:00
|
|
|
%p
|
|
|
|
%b= _("Note") + ":"
|
|
|
|
= text_field_tag "note"
|
|
|
|
%p
|
|
|
|
%table#OrderGroups{:style => "width:20em"}
|
|
|
|
%tr
|
|
|
|
%th=_ "Ordergroup"
|
|
|
|
%th=_ "Amount"
|
|
|
|
= render :partial => 'order_group', :collection => [1, 2, 3]
|
|
|
|
|
|
|
|
%p
|
|
|
|
= link_to_function _("Add another ordergroup") do |page|
|
|
|
|
- page.insert_html :bottom, :OrderGroups, :partial => 'order_group'
|
|
|
|
%p
|
|
|
|
= submit_tag _("Save")
|
|
|
|
|
|
2009-01-10 21:28:22 +01:00
|
|
|
= link_to _("Cancel"), :controller => 'finance/transactions'
|