|
1 <label class="input bordered with-icon" |
|
2 tal:omit-tag="view/required" i18n:domain="pyams_security"> |
|
3 <i class="icon-append fa fa-trash-o hint opaque" |
|
4 title="Clear selected values" i18n:attributes="title" |
|
5 tal:omit-tag="view/required" |
|
6 data-ams-click-handler="MyAMS.helpers.select2ClearSelection" |
|
7 tal:attributes="data-ams-select2-target view/name"></i> |
|
8 <div class="select2-parent" |
|
9 tal:omit-tag="view/required"> |
|
10 <input type="hidden" autocomplete="off" class="select2" |
|
11 data-ams-select2-placeholder="Select permissions..." |
|
12 data-ams-select2-allow-clear="true" |
|
13 data-ams-select2-multiple="true" |
|
14 data-ams-select2-separator="|" |
|
15 tal:attributes="id view/id; |
|
16 name view/name; |
|
17 class string:select2 ${view/klass}; |
|
18 style view/style; |
|
19 title view/title; |
|
20 value view/values_str; |
|
21 lang view/lang; |
|
22 onclick view/onclick; |
|
23 ondblclick view/ondblclick; |
|
24 onmousedown view/onmousedown; |
|
25 onmouseup view/onmouseup; |
|
26 onmouseover view/onmouseover; |
|
27 onmousemove view/onmousemove; |
|
28 onmouseout view/onmouseout; |
|
29 onkeypress view/onkeypress; |
|
30 onkeydown view/onkeydown; |
|
31 onkeyup view/onkeyup; |
|
32 disabled view/disabled; |
|
33 tabindex view/tabindex; |
|
34 onfocus view/onfocus; |
|
35 onblur view/onblur; |
|
36 onchange view/onchange; |
|
37 readonly view/readonly; |
|
38 accesskey view/accesskey; |
|
39 onselect view/onselect; |
|
40 data-ams-select2-data view/values_data; |
|
41 data-ams-select2-values view/values_map;" |
|
42 i18n:attributes="data-ams-select2-placeholder" /> |
|
43 </div> |
|
44 </label> |