skill-assessment-app/app/views/admin/user/view.html.erb
2016-08-22 16:26:21 -05:00

11 lines
254 B
Plaintext

<%
content_for :section_title, "#{@user.name}"
%>
<main class="admin_tpl">
<p><%= @user.name %></p>
<p><%= mail_to(@user.email) %></p>
<p><%= @user.role %></p>
<%= link_to('Edit', admin_edit_user_path(@user.to_i), { class: 'btn' }) %>
</main>