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

19 lines
774 B
Text
Raw Permalink Normal View History

2013-02-03 18:10:11 +01:00
- title t('.title')
- content_for :actionbar do
2013-02-03 18:10:11 +01:00
= link_to t('.new_ordergroup'), new_admin_ordergroup_path, class: 'btn btn-primary'
2018-12-21 01:12:43 +01:00
= link_to url_for(search: params[:q], format: :csv), class: 'btn' do
= glyph :download
CSV
- content_for :sidebar do
2013-02-03 18:10:11 +01:00
%p= t('.first_paragraph', url: link_to(t('.new_ordergroups'), new_admin_ordergroup_path)).html_safe
%p= t('.second_paragraph', url: link_to(t('.workgroup'), admin_workgroups_path)).html_safe
.well.well-small
= form_tag admin_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('admin.search_placeholder')
#ordergroups
2018-12-21 01:12:43 +01:00
= render "ordergroups"