Remove trailing whitespaces and trailing lines
This commit is contained in:
parent
7e0726b1da
commit
3bd06d55e0
80 changed files with 261 additions and 296 deletions
|
@ -1,11 +1,11 @@
|
|||
%h3
|
||||
%h3
|
||||
Users
|
||||
= link_to 'New User', new_admin_user_path, :class => "btn small right"
|
||||
%br
|
||||
|
||||
%ul.nav.nav-pills
|
||||
%li{:class => "#{'active' unless params[:filter]}"}
|
||||
= link_to "Active", admin_users_path
|
||||
= link_to "Active", admin_users_path
|
||||
%li{:class => "#{'active' if params[:filter] == "admins"}"}
|
||||
= link_to admin_users_path(:filter => "admins") do
|
||||
Admins
|
||||
|
@ -34,9 +34,9 @@
|
|||
%td= user.users_projects.count
|
||||
%td= link_to 'Edit', edit_admin_user_path(user), :id => "edit_#{dom_id(user)}", :class => "btn small"
|
||||
%td
|
||||
- if user.blocked
|
||||
- if user.blocked
|
||||
= link_to 'Unblock', unblock_admin_user_path(user), :method => :put, :class => "btn small success"
|
||||
- else
|
||||
- else
|
||||
= link_to 'Block', block_admin_user_path(user), :confirm => 'USER WILL BE BLOCKED! Are you sure?', :method => :put, :class => "btn small danger"
|
||||
%td= link_to 'Destroy', [:admin, user], :confirm => 'USER WILL BE REMOVED! Are you sure?', :method => :delete, :class => "btn small danger"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue