more headings
This commit is contained in:
@@ -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 } %>
|
||||
|
@@ -1,4 +1,7 @@
|
||||
<% content_for :section_title, "Users" %>
|
||||
<%
|
||||
content_for :section_title, "Users"
|
||||
content_for :title, "Users - Skills Assessment Admin"
|
||||
%>
|
||||
|
||||
<h1>Users</h1>
|
||||
|
||||
|
@@ -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 } %>
|
||||
|
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user