Translations and other little improvements.

This commit is contained in:
Benjamin Meichsner 2009-02-12 21:38:41 +01:00
parent 951d19db6a
commit a0e10141dc
17 changed files with 63 additions and 58 deletions

View file

@ -1,6 +1,6 @@
%tr.transaction
%td
%select{:name => 'financial_transactions[][ordergroup_id]'}
= options_for_select Ordergroup.find(:all, :order => 'name').collect { |g| [ g.name, g.id ] }
= options_for_select Ordergroup.without_deleted.all(:order => 'name').collect { |g| [ g.name, g.id ] }
%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")}
%td= link_to_function icon(:delete), "$(this).up('.transaction').remove()", {:title => "Gruppe enfernen"}