X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fgeneric%2Fmultibox.html;h=bf39fe8a8b47570ebef98dc41b85580ecc0b2f94;hb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;hp=46a5dd49ec5a394be9eff77e6214461a196c6509;hpb=335c0625fa70a04e287d87d78ee0e6399205b55c;p=kivitendo-erp.git diff --git a/templates/webpages/generic/multibox.html b/templates/webpages/generic/multibox.html index 46a5dd49e..bf39fe8a8 100644 --- a/templates/webpages/generic/multibox.html +++ b/templates/webpages/generic/multibox.html @@ -3,7 +3,7 @@ Multibox This template makes an input box for you, - decides wether it should be a text field or a drop down box, + decides whether it should be a text field or a drop down box, generates the HTML code, and fixes everything just right. call: PROCESS generic/multibox.html var = var, var2 = .... @@ -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 -%] [%- -%]>