2012-03-20 18:11:28 +00:00
|
|
|
- content_for :sidebar do
|
2012-03-23 10:46:58 +00:00
|
|
|
.bordered
|
|
|
|
- if can? :create, User.new
|
|
|
|
= link_to t("layout.users.new"), new_user_path, :class => 'button'
|
2012-03-20 18:11:28 +00:00
|
|
|
%h3= t("layout.users.filter_header")
|
|
|
|
%table
|
2012-03-20 20:06:51 +00:00
|
|
|
- t('layout.users.users_filter').each_key do |base|
|
|
|
|
%tr
|
2012-03-21 17:45:51 +00:00
|
|
|
%td.width18=radio_button_tag :myradio, base, @filter.to_sym == base, {:id => 'users_filter', :class => 'niceRadio', :name => 'filter'}
|
2012-03-20 20:06:51 +00:00
|
|
|
%td.width135=t("layout.users.users_filter.#{base}")
|
2012-03-20 18:11:28 +00:00
|
|
|
.both
|