epic-ts
[kivitendo-erp.git] / templates / webpages / am / edit_templates.html
index 220b9ec..ff6ece2 100644 (file)
@@ -4,7 +4,7 @@
  <h1>[% title %]</h1>
 
   [% IF type == 'templates' %]
-   <p style="text-align: right;">[<a href="doc/html/ch03s02.html" target="_blank" title="[% 'Open in new window' | $T8 %]">[% 'Help Template Variables' | $T8 %]</a>]</p>
+   <p style="text-align: right;">[<a href="doc/html/ch03s03.html" target="_blank" title="[% 'Open in new window' | $T8 %]">[% 'Help Template Variables' | $T8 %]</a>]</p>
   [% END %]
 
  <form method="post" name="Form" action="amtemplates.pl">
 
 
   [% IF SHOW_CONTENT %]
-   <p>
-    <div class="listtop">
+    <h2>
      [% IF CAN_EDIT %][% 'Edit file' | $T8 %][% ELSE %][% 'Display file' | $T8 %][% END %] [% HTML.escape(display_filename) %]
-    </div>
-   </p>
+    </h2>
 
    [% IF CAN_EDIT %]
-    <p><textarea name="content" id="edit_content" cols="100" rows="25">[% HTML.escape(content) %]</textarea></p>
+    <p><textarea name="content" id="edit_content" cols="100" rows="25"[% IF edit %] class="initial_focus"[% END %]>[% HTML.escape(content) %]</textarea></p>
 
     <p>
      <input type="hidden" name="save_nextsub" value="save_template">
@@ -78,4 +76,3 @@
   [% END %] <!-- SHOW_CONTENT -->
 
  </form>
-