Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4d2af142

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

  • ID 4d2af1425ac052aceb0b08cf9ad39e77a201ddf9
  • Vorgänger 471e9539
  • Nachfolger f79351a8

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

Unterschiede anzeigen:

templates/webpages/simple_system_setting/_part_classification_form.html
1
<table>
2
 <tr>
3
  <th align="right">[% LxERP.t8('Description') %]</th>
4
  <td>[% L.input_tag("object.description",  LxERP.t8(SELF.object.description), "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
5
 </tr>
6
 <tr>
7
  <th align="right">[% LxERP.t8('TypeAbbreviation') %]</th>
8
  <td>[% L.input_tag("object.abbreviation",  LxERP.t8(SELF.object.abbreviation), size="2", maxlength="2" ) %]</td>
9
 </tr>
10
 <tr>
11
  <th align="right">[% LxERP.t8('Used for Purchase') %]</th>
12
  <td>[% L.checkbox_tag("object.used_for_purchase", checked=(SELF.object.used_for_purchase ? 1:''), for_submit=1) %]</td>
13
 </tr>
14
 <tr>
15
  <th align="right">[% LxERP.t8('Used for Sale') %]</th>
16
  <td>[% L.checkbox_tag("object.used_for_sale", checked=(SELF.object.used_for_sale ? 1:''), for_submit=1) %]</td>
17
 </tr>
18
 <tr>
19
  <th align="right">[% LxERP.t8('Report separately') %]</th>
20
  <td>[% L.checkbox_tag("object.report_separate", checked=(SELF.object.report_separate ? 1:''), for_submit=1) %]</td>
21
 </tr>
22
</table>
23 1
[%- USE LxERP -%]
24 2
[%- USE L -%]
3
<div class="wrapper">
4
  <table class="tbl-horizontal">
5
    <tbody>
6
      <tr>
7
        <th> [% 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> [% LxERP.t8('TypeAbbreviation') %] </th>
12
        <td> [% L.input_tag("object.abbreviation", LxERP.t8(SELF.object.abbreviation), size="2", maxlength="2" ) %] </td>
13
      </tr>
14
      <tr>
15
        <th> [% LxERP.t8('Used for Purchase') %] </th>
16
        <td> [% L.checkbox_tag("object.used_for_purchase", checked=(SELF.object.used_for_purchase ? 1:''), for_submit=1) %] </td>
17
      </tr>
18
      <tr>
19
        <th> [% LxERP.t8('Used for Sale') %] </th>
20
        <td> [% L.checkbox_tag("object.used_for_sale", checked=(SELF.object.used_for_sale ? 1:''), for_submit=1) %] </td>
21
      </tr>
22
      <tr>
23
        <th> [% LxERP.t8('Report separately') %] </th>
24
        <td> [% L.checkbox_tag("object.report_separate", checked=(SELF.object.report_separate ? 1:''), for_submit=1) %] </td>
25
      </tr>
26
    </tbody>
27
  </table>
28
</div>

Auch abrufbar als: Unified diff