Layout: title Ausgabe normalisieren
[kivitendo-erp.git] / templates / webpages / requirement_spec_type / form.html
1 [% USE HTML %][% USE L %][% USE LxERP %]
2 <h1>[% FORM.title %]</h1>
3
4  <form method="post" action="controller.pl">
5
6 [%- INCLUDE 'common/flash.html' %]
7
8   <table>
9    <tr>
10     <td>[% LxERP.t8('Description') %]</td>
11     <td>[% L.input_tag("requirement_spec_type.description", SELF.requirement_spec_type.description) %]</td>
12    </tr>
13
14    <tr>
15     <td>[% LxERP.t8('Print template base file name') %]<sup>(1)</sup></td>
16     <td>[% L.input_tag("requirement_spec_type.template_file_name", SELF.requirement_spec_type.template_file_name) %]</td>
17    </tr>
18
19    <tr>
20     <td>[% LxERP.t8('Section number format') %]<sup>(2)</sup></td>
21     <td>[% L.input_tag("requirement_spec_type.section_number_format", SELF.requirement_spec_type.section_number_format, size="15") %]</td>
22    </tr>
23
24    <tr>
25     <td>[% LxERP.t8('Function block number format') %]<sup>(2)</sup></td>
26     <td>[% L.input_tag("requirement_spec_type.function_block_number_format", SELF.requirement_spec_type.function_block_number_format, size="15") %]</td>
27    </tr>
28   </table>
29
30   <p>
31    [% L.hidden_tag("id", SELF.requirement_spec_type.id) %]
32    [% L.hidden_tag("action", "RequirementSpecType/dispatch") %]
33    [% L.submit_tag("action_" _ (SELF.requirement_spec_type.id ? "update" : "create"), LxERP.t8('Save')) %]
34    [%- IF SELF.requirement_spec_type.id %]
35     [% L.submit_tag("action_destroy", LxERP.t8('Delete'), confirm=LxERP.t8('Do you really want to delete this object?')) %]
36    [%- END %]
37    <a href="[% SELF.url_for(action => 'list') %]">[%- LxERP.t8('Abort') %]</a>
38   </p>
39
40   <p>
41    <sup>(1)</sup>: [% LxERP.t8("The base file name without a path or an extension to be used for printing for this type of requirement spec.") %]
42    <br>
43    <sup>(2)</sup>: [% LxERP.t8('The numbering will start at 1 with each requirement spec.') %]
44   </p>
45  </form>