views: refactor page titles.
Refactor `page_title` helper to automatically include site name.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<% page_title "Delete Account" %>
|
||||
|
||||
<div id="c-maintenance-user-deletions">
|
||||
<div id="a-show" class="prose">
|
||||
<h1>Delete Account</h1>
|
||||
@@ -25,7 +27,3 @@
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
Delete Account - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user