Revision a7d73976
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/delivery_term/form.html | ||
---|---|---|
1 | 1 |
[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %][%- USE P -%] |
2 | 2 |
<h1>[% FORM.title %]</h1> |
3 | 3 |
|
4 |
<form method="post" action="controller.pl" id="form"> |
|
5 |
|
|
6 |
[%- INCLUDE 'common/flash.html' %] |
|
7 |
|
|
8 |
<table> |
|
9 |
<tr> |
|
10 |
<td>[%- 'Description' | $T8 %]</td> |
|
11 |
<td> |
|
12 |
[% P.input_tag("delivery_term.description", SELF.delivery_term.description, size="60", "data-validate"="required", "data-title"=LxERP.t8("Description")) %] |
|
13 |
</td> |
|
14 |
</tr> |
|
15 |
|
|
16 |
<tr> |
|
17 |
<td>[%- 'Long Description' | $T8 %]</td> |
|
18 |
<td> |
|
19 |
[% P.input_tag("delivery_term.description_long", SELF.delivery_term.description_long, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description")) %] |
|
20 |
</td> |
|
21 |
</tr> |
|
22 |
|
|
23 |
[%- FOREACH language = SELF.languages %] |
|
24 |
<tr> |
|
25 |
<td>[%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %])</td> |
|
26 |
<td> |
|
27 |
<input name="translation_[% language.id %]" value="[%- HTML.escape(SELF.delivery_term.translated_attribute('description_long', language, 1)) %]" size="60"> |
|
28 |
</td> |
|
29 |
</tr> |
|
30 |
[%- END %] |
|
31 |
</table> |
|
32 |
|
|
33 |
[% P.hidden_tag("id", SELF.delivery_term.id) %] |
|
34 |
</form> |
|
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 |
</table> |
|
25 |
[% P.hidden_tag("id", SELF.delivery_term.id) %] |
|
26 |
</form> |
|
27 |
</div> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/delivery_term/form.html