Moved financial_transaction into the new finance-namespace.

This commit is contained in:
Benjamin Meichsner 2009-01-10 21:28:22 +01:00
parent 1d85b880f2
commit c282cae79c
19 changed files with 167 additions and 153 deletions

View file

@ -0,0 +1,21 @@
%h1 New transaction
.edit_form{ :style => "width:30em" }
- form_for(@financial_transaction, :url => { :action => 'create' }) do |f|
= f.error_messages
= f.hidden_field :order_group_id
%p
Group:
%b=h @group.name
%p
= f.label :amount
%br/
= f.text_field :amount, :size => 10
%p
= f.label :note
%br/
= f.text_area :note, :cols => 40, :rows => 5
%p
= submit_tag "Save"
= link_to "Back", :controller => 'transactions'