2017-03-20 14:38:57 -05:00
|
|
|
<%
|
|
|
|
content_for :section_title, "Users"
|
|
|
|
content_for :title, "Users - Skills Assessment Admin"
|
|
|
|
%>
|
2016-08-18 15:35:17 -05:00
|
|
|
|
2017-03-20 14:38:57 -05:00
|
|
|
<h1><%= @user.name %></h1>
|
2017-03-20 10:57:50 -05:00
|
|
|
<div><%= mail_to(@user.email) %></div>
|
|
|
|
<div><%= @user.role %></div>
|
2016-09-15 16:11:44 -05:00
|
|
|
|
2017-03-20 10:57:50 -05:00
|
|
|
<div>Quizzes:</div>
|
2016-09-15 16:11:44 -05:00
|
|
|
<ul>
|
|
|
|
<% @user.quizzes.each do |quiz| %>
|
|
|
|
<li><%= quiz.name %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
|
2017-03-20 10:57:50 -05:00
|
|
|
<%= link_to('Edit', admin_edit_user_path(@user.to_i), { class: "" }) %>
|