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

14 lines
471 B
Text
Raw Permalink Normal View History

- 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"