2011-05-15 23:43:23 +02:00
|
|
|
- content_for :head do
|
|
|
|
:javascript
|
|
|
|
$(function() {
|
|
|
|
$('#query').observe_field(1, function() {
|
|
|
|
$('#user_search').submit();
|
|
|
|
});
|
|
|
|
$('#sort_by_ordergroups').click(function() {
|
|
|
|
$('#user_search').submit();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
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
|
2009-01-15 12:14:01 +01:00
|
|
|
= 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;"}
|
2011-05-15 23:43:23 +02:00
|
|
|
= form_tag foodcoop_users_path, :method => :get, :style=>"display:inline;", :id => 'user_search', :remote => true do
|
2009-03-22 13:26:21 +01:00
|
|
|
%label{:for => 'article_name'} Suche nach Name:
|
2011-05-15 23:43:23 +02:00
|
|
|
= text_field_tag(:query, params[:query], :size => 10 )
|
|
|
|
|
|
|
|
Nach Bestellgruppen sortieren:
|
|
|
|
= check_box_tag :sort_by_ordergroups, 1, params[:sort_by_ordergroups]
|
2009-01-15 12:14:01 +01:00
|
|
|
#users
|
|
|
|
= render :partial => "users"
|