From e03b46f15f87e3a21c8fff61c7a762e8313b0ebc Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 24 Jun 2013 14:58:01 +0200 Subject: [PATCH] =?utf8?q?multibox.html:=20M=C3=B6glichkeit,=20"class"=20z?= =?utf8?q?u=20setzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- templates/webpages/generic/multibox.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/webpages/generic/multibox.html b/templates/webpages/generic/multibox.html index 46a5dd49e..28ff8370f 100644 --- a/templates/webpages/generic/multibox.html +++ b/templates/webpages/generic/multibox.html @@ -25,6 +25,7 @@ limit : defines the limit of entries, after which a textbox is generated. defaults to vclimit, or, failing to find that, 200. select_name : if a select is displayed, use a different name. ex.: department for textinput, but department_id for selects readonly : softly prevents modification + class : CSS class names (optional) -%] [%- Multibox__limit = limit != '' ? limit : vclimit != '' ? vclimit : 200 @@ -39,6 +40,7 @@ [%- IF Multibox__id %] id="[% Multibox__id | html %]"[% END -%] [%- IF Multibox__default %] value="[% Multibox__default | html %]"[% END -%] [%- IF style %] style="[% style | html %]"[% END -%] + [%- IF class %] class="[% class | html %]"[% END -%] [%- IF readonly %] readonly[% END -%] [%- -%]> [%- IF select -%] @@ -49,6 +51,7 @@ [%- IF Multibox__name %] name="[% Multibox__name | html %]"[% END -%] [%- IF Multibox__id %] id="[% Multibox__id | html %]"[% END -%] [%- IF style %] style="[% style | html %]"[% END -%] + [%- IF class %] class="[% class | html %]"[% END -%] [%- IF onChange %] onChange="[% onChange | html %]"[% END -%] [%- IF readonly %] disabled[% END -%] [%- -%]> -- 2.20.1