Updated permissions for deletion and styling for hidden items

This commit is contained in:
2013-01-25 18:21:42 -07:00
parent 3d00bbed03
commit c547af5391
5 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
<% if !@users.blank? %>
<% @users.each do |user| %>
<tr>
<tr<%= " class='hidden'" if user.hidden? %>>
<td><%= link_to user.name, user %></td>
<% if current_user.admin? then %><td><%= user.email %></td><% end %>
<td><% user.certifications.each do |c| %>