Introduced actionbar. Some fixes for balancing page.
This commit is contained in:
parent
1d9815731c
commit
f4f10b1e4c
26 changed files with 90 additions and 78 deletions
|
|
@ -1,7 +1,9 @@
|
|||
- title "Kontoauszug für #{@ordergroup.name}"
|
||||
|
||||
- content_for :actionbar do
|
||||
= link_to 'Neue Transaktion anlegen', new_finance_ordergroup_transaction_path(@ordergroup), class: 'btn btn-primary'
|
||||
|
||||
- content_for :sidebar do
|
||||
%p= link_to 'Neue Transaktion anlegen', new_finance_ordergroup_transaction_path(@ordergroup), class: 'btn btn-primary'
|
||||
.well.well-small
|
||||
%strong Kontostand: #{number_to_currency(@ordergroup.account_balance)}
|
||||
%br/
|
||||
|
|
|
|||
|
|
@ -7,5 +7,6 @@
|
|||
= f.hidden_field :ordergroup_id
|
||||
= f.input :amount
|
||||
= f.input :note, :as => :text
|
||||
= f.submit
|
||||
= link_to "oder abbrechen", finance_ordergroup_transactions_path(@ordergroup)
|
||||
.form-actions
|
||||
= f.submit class: 'btn btn-primary'
|
||||
= link_to "oder abbrechen", finance_ordergroup_transactions_path(@ordergroup)
|
||||
Loading…
Add table
Add a link
Reference in a new issue