Give every page a consistent title

This commit is contained in:
Eelco Dolstra
2013-02-20 15:54:33 +01:00
parent 5c317fa0e9
commit ea9862fdc1
36 changed files with 105 additions and 162 deletions

View File

@@ -1,4 +1,4 @@
[% WRAPPER layout.tt title=(create ? "New user" : "Editing user '$user.username'") %]
[% WRAPPER layout.tt title=(create ? "New user" : "User $user.username") %]
[% PROCESS common.tt %]
[% BLOCK roleoption %]
@@ -14,8 +14,6 @@
>[% role %]</option>
[% END %]
<div class="page-header"><h1>[% IF create %]New user[% ELSE %]User <tt>[% user.username %]</tt>[% END %]</h1></div>
<form class="form-horizontal" action="[% IF create %][% c.uri_for('/admin/create-user/submit') %][% ELSE %][% c.uri_for('/admin/user' user.username 'submit') %][% END %]" method="post">
<fieldset>