foodsoft/app/views/finance/ordergroups/index.html.haml

18 lines
758 B
Text
Raw Normal View History

2013-02-11 04:15:40 +01:00
- title t('.title')
- content_for :actionbar do
2014-05-06 19:02:01 +02:00
= link_to t('.show_all'), finance_transactions_path, class: 'btn'
= link_to t('.show_foodcoop'), finance_foodcoop_financial_transactions_path, class: 'btn'
- if FinancialLink.any?
= link_to t('.new_financial_link'), finance_links_path, method: :post, class: 'btn'
2013-02-11 04:15:40 +01:00
= link_to t('.new_transaction'), finance_new_transaction_collection_path, class: 'btn btn-primary'
.well.well-small
= form_tag finance_ordergroups_path, :method => :get, :remote => true,
'data-submit-onchange' => true, class: 'form-search' do
= text_field_tag :query, params[:query], class: 'input-medium search-query',
placeholder: t('ui.search_placeholder')
#ordergroupsTable
2014-05-06 19:02:01 +02:00
= render :partial => "ordergroups"