1 [%- USE LxERP -%][%- USE HTML -%][%- USE L -%]
3 [% INCLUDE 'common/flash.html' %]
5 <h1>[% HTML.escape(title) %]</h1>
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) %]
14 <th align="right">[% LxERP.t8('Printer Description') %]</th>
15 <td>[% L.input_tag("printer.printer_description", SELF.printer.printer_description, size=30) %]</td>
18 <th align="right">[% LxERP.t8('Printer Command') %]</th>
19 <td>[% L.input_tag("printer.printer_command", SELF.printer.printer_command, size=30) %]</td>
22 <th align="right">[% LxERP.t8('Template Code') %]</th>
23 <td>[% L.input_tag("printer.template_code", SELF.printer.template_code, size=8) %]</td>
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?")) %]