foodsoft/app/views/finance/transactions/_order_group.haml

6 lines
420 B
Text
Raw Normal View History

2009-01-06 11:49:19 +01:00
%tr.transaction
%td
%select{:name => 'financial_transactions[][ordergroup_id]'}
= options_for_select Ordergroup.find(:all, :order => 'name').collect { |g| [ g.name, g.id ] }
2009-01-06 11:49:19 +01:00
%td= text_field_tag 'financial_transactions[][amount]'
%td= link_to_function image_tag("b_drop.png", :size => "16x16", :alt => _("Remove"), :border => "0"), "$(this).up('.transaction').remove()", {:title => _("Remove ordergroup")}