more headings

This commit is contained in:
Mark Moser
2017-03-20 14:38:57 -05:00
parent 0727440a31
commit 5e743ca2eb
14 changed files with 45 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
<% content_for :section_title, "Edit: #{@user.name}" %>
<%
content_for :section_title, "Edit: #{@user.name}"
content_for :title, "Users - Skills Assessment Admin"
%>
<h1>Edit <%= @user.name %></h1>
<%= render partial: 'form', locals: {user: @user, action: admin_update_user_path } %>

View File

@@ -1,4 +1,7 @@
<% content_for :section_title, "Users" %>
<%
content_for :section_title, "Users"
content_for :title, "Users - Skills Assessment Admin"
%>
<h1>Users</h1>

View File

@@ -1,3 +1,8 @@
<% content_for :section_title, "New User" %>
<%
content_for :section_title, "Users"
content_for :title, "Users - Skills Assessment Admin"
%>
<h1>New User</h1>
<%= render partial: 'form', locals: {user: @user, action: admin_create_user_path } %>

View File

@@ -1,6 +1,9 @@
<% content_for :section_title, "#{@user.name}" %>
<%
content_for :section_title, "Users"
content_for :title, "Users - Skills Assessment Admin"
%>
<div><%= @user.name %></div>
<h1><%= @user.name %></h1>
<div><%= mail_to(@user.email) %></div>
<div><%= @user.role %></div>