Instructors can delete their own certs; hidden users are hidden in drop-downs; admins can see last user login; prepping for postgres
This commit is contained in:
@@ -108,6 +108,10 @@
|
||||
<b>Created:</b>
|
||||
<%= @user.created_at %>
|
||||
</p>
|
||||
<p>
|
||||
<b>Last signed in:</b>
|
||||
<%= @user.current_sign_in_at %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<% if can? :update, @user then %><%= link_to 'Edit', edit_user_path(@user) %> |<% end %>
|
||||
|
||||
Reference in New Issue
Block a user