Changed widgets hint position
authorThierry Florac <thierry.florac@onf.fr>
Thu, 08 Oct 2015 09:30:25 +0200
changeset 52 229a501edd44
parent 51 550988fcf228
child 53 68678e37a77a
Changed widgets hint position
src/pyams_security/widget/templates/permission-input.pt
src/pyams_security/widget/templates/permissions-set-input.pt
src/pyams_security/widget/templates/principal-hidden.pt
src/pyams_security/widget/templates/principal-input.pt
src/pyams_security/widget/templates/principals-set-input.pt
--- 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"