]> wagnertech.de Git - mfinanz.git/blob - templates/webpages/reclamation_reason/form.html
date error in mapping
[mfinanz.git] / templates / webpages / reclamation_reason / form.html
1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%][%- USE T8 -%]
2 [% INCLUDE 'common/flash.html' %]
3
4 <h1>[% HTML.escape(title) %]</h1>
5 <div style="padding-left:2em">
6 [% SET style="width: 400px" %]
7
8 <form action="controller.pl" method="post" id="form">
9 [%- L.hidden_tag("id", SELF.reclamation_reason.id) %]
10
11 <table>
12   <tr>
13     <th align="right">[% 'Name' | $T8 %]</th>
14     <td>[%- L.input_tag("reclamation_reason.name", SELF.reclamation_reason.name, "data-validate"="required", "data-title"=LxERP.t8("Name")) %]</td>
15   </tr>
16   <tr>
17     <th align="right">[% 'Description' | $T8 %]</th>
18     <td>[%- L.textarea_tag("reclamation_reason.description", SELF.reclamation_reason.description, "data-validate"="required", cols = 50 rows = 2, "data-title"=LxERP.t8("Description")) %]</td>
19   </tr>
20   <tr>
21     <th align="right">[% 'Valid for Sales' | $T8 %]</th>
22      <td align="left">[% L.checkbox_tag("reclamation_reason.valid_for_sales", checked=SELF.reclamation_reason.valid_for_sales, for_submit=1) %]</td>
23   </tr>
24   <tr>
25     <th align="right">[% 'Valid for Purchase' | $T8 %]</th>
26      <td align="left">[% L.checkbox_tag("reclamation_reason.valid_for_purchase", checked=SELF.reclamation_reason.valid_for_purchase, for_submit=1) %]</td>
27   </tr>
28 </table>
29 </form>
30 </div>