src/pyams_security/zmi/widget/templates/ordered-list-input.pt
changeset 0 f04e1d0a0723
child 2 94e76f8e9828
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_security/zmi/widget/templates/ordered-list-input.pt	Thu Feb 19 10:53:29 2015 +0100
@@ -0,0 +1,16 @@
+<table class="table table-bordered table-striped table-hover table-tight table-dnd"
+	   data-ams-tablednd-drop-target="PyAMS_security.plugins.changeOrder"
+	   data-ams-plugins="security"
+	   data-ams-plugin-security-src="/--static--/pyams_security/js/security.js"
+	   tal:attributes="id string:${view/field/getName}_list;
+					   data-ams-input-name view/name;">
+	<input type="hidden"
+		   tal:attributes="id view/id;
+						   name view/name;
+						   value view/str_value;" />
+	<tr tal:repeat="item view/items"
+		tal:attributes="id string:${view/field/getName}::${item/__name__ | default};
+						data-ams-element-name item/__name__ | default;">
+		<td tal:content="item/title | item"></td>
+	</tr>
+</table>