2016-08-18 18:22:57 -05:00
|
|
|
<%
|
|
|
|
content_for :section_title, "#{@user.name}"
|
|
|
|
%>
|
2016-08-18 15:35:17 -05:00
|
|
|
|
2016-08-24 12:17:00 -05:00
|
|
|
<p><%= @user.name %></p>
|
|
|
|
<p><%= mail_to(@user.email) %></p>
|
|
|
|
<p><%= @user.role %></p>
|
2016-09-15 16:11:44 -05:00
|
|
|
|
|
|
|
<p>Quizzes:</p>
|
|
|
|
<ul>
|
|
|
|
<% @user.quizzes.each do |quiz| %>
|
|
|
|
<li><%= quiz.name %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
|
2016-08-24 12:17:00 -05:00
|
|
|
<%= link_to('Edit', admin_edit_user_path(@user.to_i), { class: 'btn' }) %>
|