i18n financial_transactions + controller

This commit is contained in:
Manuel Wiedenmann 2013-02-11 09:57:33 +07:00
parent 8722a5ed36
commit 640e9799aa
7 changed files with 59 additions and 27 deletions

View file

@ -1,6 +1,6 @@
- title "Neue Transaktion"
- title t('.title')
%p Hier kannst du der Bestellgruppe <b>#{@ordergroup.name}</b> Geld gutschreiben/abziehen.
%p!= t('.paragraph', name: @ordergroup.name)
= simple_form_for @financial_transaction, :url => finance_ordergroup_transactions_path(@ordergroup),
:validate => true do |f|
@ -9,4 +9,4 @@
= f.input :note, :as => :text
.form-actions
= f.submit class: 'btn btn-primary'
= link_to "oder abbrechen", finance_ordergroup_transactions_path(@ordergroup)
= link_to t('.or_cancel'), finance_ordergroup_transactions_path(@ordergroup)