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,21 +1,21 @@
%h1 New transaction
- title "Neue Transaktion"
.edit_form{ :style => "width:30em" }
- form_for(@financial_transaction, :url => { :action => 'create' }) do |f|
- form_for @financial_transaction, :url => {:action => 'create'} do |f|
= f.error_messages
= f.hidden_field :ordergroup_id
%p
Group:
Bestellgruppe:
%b=h @group.name
%p
= f.label :amount
Betrag
%br/
= f.text_field :amount, :size => 10
%p
= f.label :note
Notiz
%br/
= f.text_area :note, :cols => 40, :rows => 5
%p
= submit_tag "Save"
= link_to "Back", :controller => 'transactions'
= submit_tag "Speichern"
|
= link_to "Abbrechen", :controller => 'transactions'