Druckerverwaltung auf Admin-Controller umgestellt
[kivitendo-erp.git] / templates / webpages / admin / edit_printer.html
1 [%- USE LxERP -%][%- USE HTML -%][%- USE L -%]
2
3 [% INCLUDE 'common/flash.html' %]
4
5 <h1>[% HTML.escape(title) %]</h1>
6
7 <form method="post">
8  [% L.hidden_tag("client.id", SELF.client.id) %]
9  [% L.hidden_tag("action", 'Admin/dispatch') %]
10  [% L.hidden_tag("printer.id", SELF.printer.id) %]
11
12  <table>
13   <tr>
14    <th align="right">[% LxERP.t8('Printer Description') %]</th>
15    <td>[% L.input_tag("printer.printer_description", SELF.printer.printer_description, size=30) %]</td>
16   <tr>
17   <tr>
18    <th align="right">[% LxERP.t8('Printer Command') %]</th>
19    <td>[% L.input_tag("printer.printer_command", SELF.printer.printer_command, size=30) %]</td>
20   </tr>
21   <tr>
22    <th align="right">[% LxERP.t8('Template Code') %]</th>
23    <td>[% L.input_tag("printer.template_code", SELF.printer.template_code, size=8) %]</td>
24   </tr>
25  </table>
26
27  <p>
28   <a href="[% SELF.url_for(action='list_printers', 'client.id'=SELF.client.id) %]">[% LxERP.t8("Back") %]</a>
29   [% L.submit_tag("action_save_printer", LxERP.t8("Save")) %]
30   [%- IF SELF.printer.id %]
31    [% L.submit_tag("action_delete_printer", LxERP.t8("Delete"), confirm=LxERP.t8("Are you sure?")) %]
32  [%- END %]
33  </p>
34
35 </form>