--- a/src/pyams_security/widget/templates/permission-input.pt Thu Oct 08 09:29:17 2015 +0200
+++ b/src/pyams_security/widget/templates/permission-input.pt Thu Oct 08 09:30:25 2015 +0200
@@ -3,6 +3,7 @@
<i class="icon-append fa fa-trash-o hint opaque"
title="Clear selected values" i18n:attributes="title"
tal:omit-tag="view/required"
+ data-ams-hint-gravity="se"
data-ams-click-handler="MyAMS.helpers.select2ClearSelection"
tal:attributes="data-ams-select2-target view/name"></i>
<div class="select2-parent"
--- a/src/pyams_security/widget/templates/permissions-set-input.pt Thu Oct 08 09:29:17 2015 +0200
+++ b/src/pyams_security/widget/templates/permissions-set-input.pt Thu Oct 08 09:30:25 2015 +0200
@@ -3,6 +3,7 @@
<i class="icon-append fa fa-trash-o hint opaque"
title="Clear selected values" i18n:attributes="title"
tal:omit-tag="view/required"
+ data-ams-hint-gravity="se"
data-ams-click-handler="MyAMS.helpers.select2ClearSelection"
tal:attributes="data-ams-select2-target view/name"></i>
<div class="select2-parent"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_security/widget/templates/principal-hidden.pt Thu Oct 08 09:30:25 2015 +0200
@@ -0,0 +1,4 @@
+<input type="hidden"
+ tal:attributes="id view/id;
+ name view/name;
+ value view/value/id | nothing;" />
--- a/src/pyams_security/widget/templates/principal-input.pt Thu Oct 08 09:29:17 2015 +0200
+++ b/src/pyams_security/widget/templates/principal-input.pt Thu Oct 08 09:30:25 2015 +0200
@@ -3,6 +3,7 @@
<i class="icon-append fa fa-trash-o hint opaque"
title="Clear selected values" i18n:attributes="title"
tal:omit-tag="view/required"
+ data-ams-hint-gravity="se"
data-ams-click-handler="MyAMS.helpers.select2ClearSelection"
tal:attributes="data-ams-select2-target view/name"></i>
<div class="select2-parent"
--- a/src/pyams_security/widget/templates/principals-set-input.pt Thu Oct 08 09:29:17 2015 +0200
+++ b/src/pyams_security/widget/templates/principals-set-input.pt Thu Oct 08 09:30:25 2015 +0200
@@ -3,6 +3,7 @@
<i class="icon-append fa fa-trash-o hint opaque"
title="Clear selected values" i18n:attributes="title"
tal:omit-tag="view/required"
+ data-ams-hint-gravity="se"
data-ams-click-handler="MyAMS.helpers.select2ClearSelection"
tal:attributes="data-ams-select2-target view/name"></i>
<div class="select2-parent"