views: refactor page titles.
Refactor `page_title` helper to automatically include site name.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<% page_title "Change Password" %>
|
||||
|
||||
<div id="c-maintenance-user-passwords">
|
||||
<div id="a-edit">
|
||||
<h1>Change Password</h1>
|
||||
@@ -9,7 +11,3 @@
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
Change Password - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user