Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ba2be5f7

Von Hans P. Schlaepfer vor mehr als 3 Jahren hinzugefügt

  • ID ba2be5f765c668f2685a66d5e99795836efcf237
  • Vorgänger f79351a8
  • Nachfolger e8e90b47

Neues Design 2019 Standard-Code templates/webpages/simple_system_setting/_price_factor_form.html

Unterschiede anzeigen:

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