Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d82cfb30

Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt

  • ID d82cfb300587b2aa4931e8e6288b6045ebcedaf7
  • Vorgänger 052f2fd3
  • Nachfolger dc062d89

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

Unterschiede anzeigen:

templates/webpages/simple_system_setting/_requirement_spec_predefined_text_form.html
1
 <tr>
2
  <th align="right">[% LxERP.t8("Description") %]</th>
3
  <td>[% L.input_tag("object.description", SELF.object.description, size=60, class="initial_focus", "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
4
 </tr>
5

  
6
 <tr>
7
  <th align="right">[% LxERP.t8("Title") %]</th>
8
  <td>[% L.input_tag("object.title", SELF.object.title, size=60) %]</td>
9
 </tr>
10

  
11
 <tr valign="top">
12
  <th align="right">[% LxERP.t8("Content") %]</th>
13
  <td>[% L.textarea_tag("object.text_as_restricted_html", SELF.object.text_as_restricted_html, class="texteditor", style="width: 800px; height: 300px") %]</td>
14
 </tr>
15

  
16
 <tr>
17
  <th align="right">[% LxERP.t8("Useable for…") %]</th>
18
  <td>
19
   [% L.checkbox_tag("object.useable_for_text_blocks", label=LxERP.t8("Text blocks"), for_submit=1, value=1, checked=SELF.object.useable_for_text_blocks) %]
20
   [% L.checkbox_tag("object.useable_for_sections",    label=LxERP.t8("Sections"),    for_submit=1, value=1, checked=SELF.object.useable_for_sections) %]
21
  </td>
22
 </tr>
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", SELF.object.description, size=60, class="initial_focus", "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
9
    </tr>
10
    <tr>
11
      <th> [% LxERP.t8("Title") %] </th>
12
      <td> [% L.input_tag("object.title", SELF.object.title, size=60) %] </td>
13
    </tr>
14
    <tr>
15
      <th> [% LxERP.t8("Content") %] </th>
16
      <td> [% L.textarea_tag("object.text_as_restricted_html", SELF.object.text_as_restricted_html, class="texteditor", style="width: 800px; height: 300px") %] </td>
17
    </tr>
18
    <tr>
19
      <th> [% LxERP.t8("Useable for…") %] </th>
20
      <td> [% L.checkbox_tag("object.useable_for_text_blocks", label=LxERP.t8("Text blocks"), for_submit=1, value=1, checked=SELF.object.useable_for_text_blocks) %] [% L.checkbox_tag("object.useable_for_sections", label=LxERP.t8("Sections"), for_submit=1, value=1, checked=SELF.object.useable_for_sections) %] </td>
21
    </tr>
22
  </tbody>
25 23
</table>
24
</div>

Auch abrufbar als: Unified diff