i18n financial_transactions + controller
This commit is contained in:
parent
8722a5ed36
commit
640e9799aa
7 changed files with 59 additions and 27 deletions
|
|
@ -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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue