Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 67a76f1a

Von Safwan Shakhy vor 10 Monaten hinzugefügt

  • ID 67a76f1ac82119dbb7f9615041b1e7341a973a21
  • Vorgänger e974ef78
  • Nachfolger 6fa18272

Varianten Eingenschaftswerte Formular

Unterschiede anzeigen:

templates/design40_webpages/variant_property/variant_property_value_form.html
1
[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %][%- USE P -%]
2
<h1>[% FORM.title %]</h1>
3

  
4
 
5
<form method="post" action="controller.pl" id="form">
6
  [%- INCLUDE 'common/flash.html' %] 
7
<div class="wrapper">
8

  
9
<table class="tbl-horizontal">
10
  <caption> [% LxERP.t8("Value") %] </caption>
11
  <colgroup><col class="wi-mediumsmall"><col></colgroup>
12
  <tbody>
13
    <tr>
14
      <td> [%- 'Value' | $T8 %] </td>
15
      <td> [% P.input_tag("variant_property_value.value", SELF.variant_property_value.value, "data-validate"="required", "data-title"=LxERP.t8("Value")) %] </td>
16
    </tr>
17
      <tr>
18
      <td> [%- 'Abbreviation' | $T8 %] </td>
19
      <td> [% P.input_tag("variant_property_value.abbreviation", SELF.variant_property_value.abbreviation, "data-validate"="required", "data-title"=LxERP.t8("Abbreviation")) %] </td>
20
    </tr>
21
    [% IF SELF.variant_property_value.id %] 
22
    [% END %] 
23
  </tbody>
24
</table>
25

  
26
   
27
<table class="tbl-horizontal">
28
  <caption> [%- 'Translation' | $T8 %] </caption>
29
  <tbody>
30
    [%- FOREACH language = SELF.languages %] 
31
    <tr><th class="caption" colspan="2">[%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %])</th></tr>
32
    <tr>
33
      <td> [%- 'Value' | $T8 %] </td>
34
      <td> [% P.input_tag("variant_property_value.value", SELF.variant_property_value.value, "data-validate"="required", "data-title"=LxERP.t8("value")) %] </td>
35
    </tr>
36
      <tr>
37
      <td> [%- 'Abbreviation' | $T8 %] </td>
38
      <td> [% P.input_tag("variant_property_value.description", SELF.variant_property_value.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
39
    </tr>
40
    <tr>
41
      <th> [% LxERP.t8("Texts for quotations & orders") %] </th>
42
      <td> 
43
      <input type="text" name="translation_[% language.id %]" value="[%- HTML.escape(SELF.variant_property_value.translated_attribute('description_long', language, 1)) %]" size="60">
44
      </td>
45
      </tr>
46
      <tr>
47
      <th> [% LxERP.t8("Texts for invoices") %] </th>
48
      <td> 
49
      <input type="text" name="translation_invoice_[% language.id %]" value="[%- HTML.escape(SELF.variant_property_value.translated_attribute('description_long_invoice', language, 1)) %]" size="60">
50
      </td>
51
    </tr>
52
    [%- END %] 
53
  </tbody>
54
</table>
55
[% P.hidden_tag("id", SELF.variant_property_value.id) %] 
56
    
57
</div>
58

  
59
</form>

Auch abrufbar als: Unified diff