2009-04-11 19:39:01 +02:00
|
|
|
%h1 Bestellgruppen der Foodcoop
|
|
|
|
|
|
|
|
.left_column{:style => "width:100%"}
|
|
|
|
.box_title
|
|
|
|
%h2 Übersicht
|
|
|
|
.column_content
|
|
|
|
#user_filter{:style => "margin-right:2em;"}
|
2009-04-18 15:35:29 +02:00
|
|
|
%form{:id=>"sform", :action=>"", :style=>"display:inline;"}
|
2009-04-11 19:39:01 +02:00
|
|
|
%label{:for => 'article_name'} Suche nach Name:
|
|
|
|
= text_field_tag("query", params['query'], :size => 10 )
|
2009-04-18 15:35:29 +02:00
|
|
|
%label{:for => 'only_active'} Nur aktive:
|
|
|
|
= check_box_tag('only_active')
|
2009-04-20 14:33:24 +02:00
|
|
|
%small (mindestens einmal in den letzten 3 Monaten bestellt)
|
2009-04-11 19:39:01 +02:00
|
|
|
|
2009-04-18 15:35:29 +02:00
|
|
|
= observe_form 'sform', :frequency => 2, |
|
|
|
|
:before => "Element.show('loader')", |
|
|
|
|
:success => "Element.hide('loader')", |
|
2009-08-02 19:56:08 +02:00
|
|
|
:url => foodcoop_ordergroups_path, |
|
2009-05-04 17:06:08 +02:00
|
|
|
:update => :ordergroups, |
|
2009-04-18 15:35:29 +02:00
|
|
|
:method => :get |
|
2009-04-11 19:39:01 +02:00
|
|
|
|
2009-05-04 17:06:08 +02:00
|
|
|
#ordergroups
|
2009-04-11 19:39:01 +02:00
|
|
|
= render :partial => "ordergroups"
|