epic-ts
[kivitendo-erp.git] / templates / webpages / requirement_spec_complexity / 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_complexity.description", SELF.requirement_spec_complexity.description) %]</td>
12    </tr>
13   </table>
14
15   <p>
16    [% L.hidden_tag("id", SELF.requirement_spec_complexity.id) %]
17    [% L.hidden_tag("action", "RequirementSpecComplexity/dispatch") %]
18    [% L.submit_tag("action_" _ (SELF.requirement_spec_complexity.id ? "update" : "create"), LxERP.t8('Save')) %]
19    [%- IF SELF.requirement_spec_complexity.id %]
20     [% L.submit_tag("action_destroy", LxERP.t8('Delete'), confirm=LxERP.t8('Do you really want to delete this object?')) %]
21    [%- END %]
22    <a href="[% SELF.url_for(action => 'list') %]">[%- LxERP.t8('Abort') %]</a>
23   </p>
24  </form>