Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e9bebce1

Von Safwan Shakhy vor 11 Monaten hinzugefügt

  • ID e9bebce12c25f952f24af846c12277a7e06275c2
  • Vorgänger 0cb6c406
  • Nachfolger 7bb90634

Varianten Eigenschaftsformular

Unterschiede anzeigen:

templates/design40_webpages/variant_property/variant_property_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("Variant Property") %] </caption>
11
  <colgroup><col class="wi-mediumsmall"><col></colgroup>
12
  <tbody>
13
    <tr>
14
      <td> [%- 'Name' | $T8 %] </td>
15
      <td> [% P.input_tag("variant_property.name", SELF.variant_property.name, "data-validate"="required", "data-title"=LxERP.t8("Name")) %] </td>
16
    </tr>
17
     <tr>
18
      <td> [%- 'Unique Name' | $T8 %] </td>
19
      <td> [% P.input_tag("variant_property.unique_name", SELF.variant_property.unique_name , "data-validate"="required", "data-title"=LxERP.t8("Unique Name ")) %] </td>
20
    </tr>
21
      <tr>
22
      <td> [%- 'Abbreviation' | $T8 %] </td>
23
      <td> [% P.input_tag("variant_property.abbreviation", SELF.variant_property.abbreviation, "data-validate"="required", "data-title"=LxERP.t8("Abbreviation")) %] </td>
24
    </tr>
25
    [% IF SELF.variant_property.id %] 
26
    [% END %] 
27
  </tbody>
28
</table>
29

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

  
67
</form>

Auch abrufbar als: Unified diff