+ <tr><td class="listheading" colspan="4">[% LxERP.t8("Print templates") %]</td></tr>
+
+ <tr>
+ <td align="right" valign="top">[% LxERP.t8("Print templates to use") %]</td>
+ <td colspan="3" valign="top">
+ <table>
+ <tr>
+ <td>[% L.radio_button_tag('use_templates', value='existing', id='use_templates_existing', label=LxERP.t8('Use existing templates'), checked=(FORM.use_templates == 'existing')) %]</td>
+ <td>[% L.select_tag('defaults.templates', SELF.all_templates.print_templates, default=SELF.defaults.templates, value_sub=\make_templates_value, style=style) %]</td>
+ </tr>
+
+ <tr>
+ <td>[% L.radio_button_tag('use_templates', value='new', id='use_templates_new', label=LxERP.t8('Create new templates from master templates'), checked=(FORM.use_templates == 'new')) %]</td>
+ <td>[% L.select_tag('new_master_templates', SELF.all_templates.master_templates, default=FORM.new_master_templates, style=style) %]</td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8("New name") %]</td>
+ <td>[% L.input_tag('new_templates', FORM.new_templates, style=style) %]</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+