]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/delivery_term/form.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / delivery_term / form.html
1 [% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %][%- USE P -%]
2 <h1>[% FORM.title %]</h1>
3
4
5 <div class="wrapper">
6   <form method="post" action="controller.pl" id="form">
7     [%- INCLUDE 'common/flash.html' %]
8     <table class="tbl-horizontal">
9       <tr>
10         <th> [%- 'Description' | $T8 %] </th>
11         <td> [% P.input_tag("delivery_term.description", SELF.delivery_term.description, size="60", "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
12       </tr>
13       <tr>
14         <th> [%- 'Long Description' | $T8 %] </th>
15         <td> [% P.input_tag("delivery_term.description_long", SELF.delivery_term.description_long, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description")) %] </td>
16       </tr>
17       [%- FOREACH language = SELF.languages %]
18       <tr>
19         <th> [%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %]) </th>
20         <td>
21           <input type="text" name="translation_[% language.id %]" value="[%- HTML.escape(SELF.delivery_term.translated_attribute('description_long', language, 1)) %]" size="60"> </td>
22       </tr>
23       [%- END %]
24
25       <tr>
26         <th>[% 'Obsolete' | $T8 %]</th>
27         <td>[% L.checkbox_tag('delivery_term.obsolete', checked=SELF.delivery_term.obsolete, for_submit=1) %]</td>
28       </tr>
29
30       <tr>
31         <th>[% "Delete for customers & vendors" | $T8 %]</th>
32         <td>[% L.checkbox_tag("remove_customer_vendor_delivery_terms", checked=remove_customer_vendor_delivery_terms, for_submit=1, label=LxERP.t8("This will also remove these delivery terms for all customers & vendors.")) %]</td>
33       </tr>
34     </table>
35     [% P.hidden_tag("id", SELF.delivery_term.id) %]
36   </form>
37 </div>