Revision 2d7b0fd3
Von Hans P. Schlaepfer vor mehr als 4 Jahren hinzugefügt
templates/webpages/simple_system_setting/_price_factor_form.html | ||
---|---|---|
2 | 2 |
[%- USE L -%] |
3 | 3 |
[%- USE HTML -%] |
4 | 4 |
[%- SET orphaned = SELF.object.orphaned %] |
5 |
<table> |
|
6 |
<tr> |
|
7 |
<th align="right">[% LxERP.t8("Description") %]</th> |
|
8 |
<td>[% L.input_tag("object.description", LxERP.t8(SELF.object.description), "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td> |
|
9 |
</tr> |
|
10 |
<tr> |
|
11 |
<th align="right">[% LxERP.t8("Factor") %]</th> |
|
12 |
<td> |
|
13 |
[% IF orphaned %] |
|
14 |
[% L.input_tag("object.factor_as_number", LxERP.t8(SELF.object.factor_as_number), "data-validate"="required", "data-title"=LxERP.t8("Factor")) %] |
|
15 |
[% ELSE %] |
|
16 |
[% HTML.escape(SELF.object.factor_as_number) %] |
|
17 |
[% END %] |
|
18 |
</td> |
|
19 |
</tr> |
|
20 |
</table> |
|
5 |
<div class="wrapper"> |
|
6 |
<div class="col"> |
|
7 |
<table class="tbl-horizontal"> |
|
8 |
<tbody> |
|
9 |
<tr> |
|
10 |
<th> [% LxERP.t8("Description") %] </th> |
|
11 |
<td> [% L.input_tag("object.description", LxERP.t8(SELF.object.description), "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td> |
|
12 |
</tr> |
|
13 |
<tr> |
|
14 |
<th> [% LxERP.t8("Factor") %] </th> |
|
15 |
<td> [% IF orphaned %] [% L.input_tag("object.factor_as_number", LxERP.t8(SELF.object.factor_as_number), "data-validate"="required", "data-title"=LxERP.t8("Factor")) %] [% ELSE %] <span>[% HTML.escape(SELF.object.factor_as_number) %]</span> [% END %] </td> |
|
16 |
</tr> |
|
17 |
</tbody> |
|
18 |
</table> |
|
21 | 19 |
|
22 | 20 |
[% UNLESS orphaned %] |
23 |
<p> |
|
24 |
[% LxERP.t8("Note: the object is already in use. Therefore some values cannot be changed.") %] |
|
25 |
</p> |
|
21 |
<div class="long-description" style="float:none;"><p> [% LxERP.t8("Note: the object is already in use. Therefore some values cannot be changed.") %] </p></div> |
|
26 | 22 |
[% END %] |
23 |
</div> |
|
24 |
</div> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/simple_system_setting/_price_factor_form.html