Added 'ordered' class to allow options sorting
authorThierry Florac <thierry.florac@onf.fr>
Tue, 19 Sep 2017 11:14:04 +0200
changeset 62 86c94625fd90
parent 61 71018949d41d
child 63 e48fcd062faf
Added 'ordered' class to allow options sorting
src/pyams_form/widget/templates/textlinelist-input.pt
--- a/src/pyams_form/widget/templates/textlinelist-input.pt	Tue Sep 12 11:16:41 2017 +0200
+++ b/src/pyams_form/widget/templates/textlinelist-input.pt	Tue Sep 19 11:14:04 2017 +0200
@@ -1,9 +1,9 @@
 <input type="hidden"
-	   class="select2"
+	   class="select2 ordered"
 	   multiple="multiple"
 	   tal:attributes="id view/id;
 						name string:${view/name};
-						class string:${view/klass} select2;
+						class string:${view/klass} select2 ordered;
 						style view/style;
 						title view/title;
 						value view/value;