foodsoft/app/views/foodcoop/ordergroups/index.html.haml
2013-02-22 00:19:22 +01:00

13 lines
471 B
Text

- title t('.title')
.well
= form_tag foodcoop_ordergroups_path, :method => :get, :remote => true, 'data-submit-onchange' => true,
class: 'form-search' do
= text_field_tag :name, params[:name], class: 'input-medium search-query', placeholder: t('.name')
%label{:for => 'only_active'}
= check_box_tag 'only_active', 1, params[:only_active]
= t '.only_active'
%small= t '.only_active_desc'
#ordergroups
= render :partial => "ordergroups"