8b034f98e09152a1357683e39835a8231ba3701a
[kivitendo-erp.git] / templates / webpages / requirement_spec_status / 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('Name') %]</td>
11     <td>[% L.select_tag("requirement_spec_status.name",  SELF.valid_names, default = SELF.requirement_spec_status.name) %]</td>
12    </tr>
13
14    <tr>
15     <td>[% LxERP.t8('Description') %]</td>
16     <td>[% L.input_tag("requirement_spec_status.description", SELF.requirement_spec_status.description) %]</td>
17    </tr>
18   </table>
19
20   <p>
21    [% L.hidden_tag("id", SELF.requirement_spec_status.id) %]
22    [% L.hidden_tag("action", "RequirementSpecStatus/dispatch") %]
23    [% L.submit_tag("action_" _ (SELF.requirement_spec_status.id ? "update" : "create"), LxERP.t8('Save')) %]
24    [%- IF SELF.requirement_spec_status.id %]
25     [% L.submit_tag("action_destroy", LxERP.t8('Delete'), confirm=LxERP.t8('Do you really want to delete this object?')) %]
26    [%- END %]
27    <a href="[% SELF.url_for(action => 'list') %]">[%- LxERP.t8('Abort') %]</a>
28   </p>
29  </form>