<%
  content_for :section_title, "Users"
  content_for :title, "Users - Skills Assessment Admin"
%>

<h1><%= @user.name %></h1>
<div><%= mail_to(@user.email) %></div>
<div><%= @user.role %></div>

<div>Quizzes:</div>
<ul>
  <% @user.quizzes.each do |quiz| %>
    <li><%= quiz.name %></li>
  <% end %>
</ul>

<%= link_to('Edit', admin_edit_user_path(@user.to_i), { class: "" }) %>
