foodsoft/app/views/foodcoop/members.html.haml

32 lines
1.2 KiB
Text
Raw Normal View History

2009-01-06 11:49:19 +01:00
%h1 Mitglieder der Foodcoop
%p
%i
Hier kannst Du den Mitgliedern Deiner Foodcoop eine Nachricht schreiben.
%br/
Damit Deine Kontaktdaten einzusehen sind, musst Du sie unter
= link_to "Einstellungen", my_profile_path
2009-01-06 11:49:19 +01:00
freigeben.
.left_column{:style => "width:100%"}
.box_title
%h2 Übersicht
.column_content
- unless params[:sort_by_ordergroups]
#user_filter{:style => "float:left; margin-right:2em;"}
%form{:name=>"sform", :action=>"", :style=>"display:inline;"}
%label{:for => 'article_name'} Suche in Name :
= text_field_tag("query", params['query'], :size => 10 )
= observe_field 'query', :frequency => 2, |
:before => "Element.show('loader')", |
:success => "Element.hide('loader')", |
:url => {:action => 'members'}, |
:update => :users, |
:with => 'query', |
:method => :get |
2009-01-06 11:49:19 +01:00
=_ "Sort by Ordergroups :"
- form_tag({:action => "members"}, :method => "get", :style=>"display:inline;") do
= check_box_tag :sort_by_ordergroups, 1, params[:sort_by_ordergroups], :onclick => "submit();"
#users
= render :partial => "users"