Give every page a consistent title
This commit is contained in:
+1
-3
@@ -1,8 +1,6 @@
|
||||
[% WRAPPER layout.tt title=(create ? "New machine" : "Editing machine '$machine.hostname'") %]
|
||||
[% WRAPPER layout.tt title=(create ? "New machine" : "Machine $machine.hostname") %]
|
||||
[% PROCESS common.tt %]
|
||||
|
||||
<div class="page-header"><h1>[% IF create %]New machine[% ELSE %]Machine <tt>[% machine.hostname %]</tt>[% END %]</h1></div>
|
||||
|
||||
<form class="form-horizontal" method="post"
|
||||
action="[% IF create %][% c.uri_for('/admin/create-machine/submit') %][% ELSE %][% c.uri_for('/admin/machine' machine.hostname 'submit') %][% END %]">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user