page titles

This commit is contained in:
jomo
2014-06-16 00:05:09 +02:00
parent 19eb868a50
commit 03efb744d1
29 changed files with 60 additions and 19 deletions

View File

@@ -1,8 +1,8 @@
<% if params[:role] %>
<h1>All '<%= params[:role] %>' users</h1>
<h1><%= title "All '#{params[:role]}' Users" %></h1>
<%= link_to "show all", users_path %>
<% else %>
<h1> All users </h1>
<h1><%= title "All Users" %></h1>
<% end %>
<div id="userlist">
<% @users.each do |u| %>