skill-assessment-app/app/views/admin/profile/view.html.erb
2017-06-05 11:30:34 -05:00

11 lines
297 B
Plaintext

<%
content_for :section_title, "Profile"
content_for :title, "Profile - Skills Assessment Admin"
%>
<div>Name: <%= current_user.name %></div>
<div>email: <%= current_user.email %></div>
<div>Role: <%= current_user.role %></div>
<%= link_to('Edit', admin_edit_profile_path, { class: "" }) %>