Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e03b46f1

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID e03b46f15f87e3a21c8fff61c7a762e8313b0ebc
  • Vorgänger 005e30ca
  • Nachfolger f29fd47b

multibox.html: Möglichkeit, "class" zu setzen

Unterschiede anzeigen:

templates/webpages/generic/multibox.html
25 25
    limit         : defines the limit of entries, after which a textbox is generated. defaults to vclimit, or, failing to find that, 200.
26 26
    select_name   : if a select is displayed, use a different name. ex.: department for textinput, but department_id for selects
27 27
    readonly      : softly prevents modification
28
    class         : CSS class names (optional)
28 29
-%]
29 30
[%-
30 31
  Multibox__limit      = limit   != '' ? limit   : vclimit != '' ? vclimit : 200
......
39 40
 [%- IF Multibox__id       %] id="[%    Multibox__id      | html %]"[% END -%]
40 41
 [%- IF Multibox__default  %] value="[% Multibox__default | html %]"[% END -%]
41 42
 [%- IF style              %] style="[% style             | html %]"[% END -%]
43
 [%- IF class              %] class="[% class             | html %]"[% END -%]
42 44
 [%- IF readonly           %] readonly[% END -%]
43 45
[%- -%]>
44 46
[%- IF select -%]
......
49 51
 [%- IF Multibox__name     %] name="[%     Multibox__name     | html %]"[% END -%]
50 52
 [%- IF Multibox__id       %] id="[%       Multibox__id       | html %]"[% END -%]
51 53
 [%- IF style              %] style="[%    style              | html %]"[% END -%]
54
 [%- IF class              %] class="[%     class             | html %]"[% END -%]
52 55
 [%- IF onChange           %] onChange="[% onChange           | html %]"[% END -%]
53 56
 [%- IF readonly           %] disabled[% END -%]
54 57
[%- -%]>

Auch abrufbar als: Unified diff