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

15 lines
666 B
Text
Raw Permalink Normal View History

2013-02-03 18:36:03 +01:00
- title t '.title'
- content_for :actionbar do
2013-02-03 18:36:03 +01:00
= link_to t('.new_workgroup'), new_admin_workgroup_path, class: 'btn btn-primary'
- content_for :sidebar do
2013-02-03 18:36:03 +01:00
%p= t('.first_paragraph', url: link_to(t('.new_workgroups'), new_admin_workgroup_path)).html_safe
%p= t('.second_paragraph', url: link_to(t('.ordergroup'), admin_ordergroups_path)).html_safe
.well.well-small
= form_tag admin_workgroups_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')
#workgroups
= render "workgroups"