skill-assessment-app/app/views/admin/user/view.html.erb

11 lines
256 B
Plaintext
Raw Normal View History

2016-08-18 18:22:57 -05:00
<%
content_for :section_title, "#{@user.name}"
%>
2016-08-18 15:35:17 -05:00
2016-08-18 18:22:57 -05:00
<main class="summary_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' }) %>
2016-08-18 15:35:17 -05:00
</main>