2013-02-22 00:19:22 +01:00
|
|
|
- title t('.title')
|
2012-10-08 15:24:32 +02:00
|
|
|
|
|
|
|
%section
|
2013-02-22 00:19:22 +01:00
|
|
|
= t('.body', profile_link: link_to(t('.profile_link'), my_profile_path)).html_safe
|
2009-01-06 11:49:19 +01:00
|
|
|
|
2012-10-08 15:24:32 +02:00
|
|
|
.well
|
|
|
|
= form_tag foodcoop_users_path, :method => :get, :remote => true,
|
|
|
|
'data-submit-onchange' => true, class: 'form-search' do
|
|
|
|
|
|
|
|
= text_field_tag :user_name, params[:user_name], class: 'input-medium search-query',
|
2013-02-22 00:19:22 +01:00
|
|
|
placeholder: t('.ph_name')
|
2012-10-08 15:24:32 +02:00
|
|
|
= text_field_tag :ordergroup_name, params[:ordergroup_name], class: 'input-medium search-query',
|
2013-02-22 00:19:22 +01:00
|
|
|
placeholder: t('.ph_ordergroup')
|
2012-10-08 15:24:32 +02:00
|
|
|
%button.btn
|
|
|
|
%i.icon-search
|
2011-05-15 23:43:23 +02:00
|
|
|
|
2012-10-08 15:24:32 +02:00
|
|
|
#users
|
2013-02-22 00:19:22 +01:00
|
|
|
= render :partial => "users"
|