2013-02-03 19:38:18 +01:00
|
|
|
- title t '.title'
|
2012-10-15 21:19:17 +02:00
|
|
|
|
2012-11-12 13:13:01 +01:00
|
|
|
- content_for :actionbar do
|
2013-02-03 19:38:18 +01:00
|
|
|
= link_to t('.new_user'), new_admin_user_path, class: 'btn btn-primary'
|
2012-11-12 13:13:01 +01:00
|
|
|
|
2012-10-15 21:19:17 +02:00
|
|
|
- content_for :sidebar do
|
2016-03-04 19:03:52 +01:00
|
|
|
%p= t('.first_paragraph', url: link_to(t('.new_users'), new_admin_user_path)).html_safe
|
2012-10-15 21:19:17 +02:00
|
|
|
|
|
|
|
.well.well-small
|
|
|
|
= form_tag admin_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-03 19:38:18 +01:00
|
|
|
placeholder: t('admin.search_placeholder')
|
2016-03-04 19:03:52 +01:00
|
|
|
%label{:for => 'show_deleted'}
|
|
|
|
= check_box_tag 'show_deleted', 1, params[:show_deleted]
|
|
|
|
= t '.show_deleted'
|
2012-10-15 21:19:17 +02:00
|
|
|
|
|
|
|
#users
|
2016-03-04 19:03:52 +01:00
|
|
|
= render "users"
|