Updated attribute value
authorThierry Florac <thierry.florac@onf.fr>
Tue, 15 Nov 2016 10:26:24 +0100
changeset 23 70720c9f56c9
parent 22 23f335a0e234
child 24 ed726ebbad4b
Updated attribute value
src/pyams_portal/zmi/templates/layout.pt
--- a/src/pyams_portal/zmi/templates/layout.pt	Tue Nov 15 10:25:47 2016 +0100
+++ b/src/pyams_portal/zmi/templates/layout.pt	Tue Nov 15 10:26:24 2016 +0100
@@ -66,7 +66,7 @@
 				</div>
 			</div>
 			<div id="portal_config" class="container"
-				 tal:attributes="data-ams-allowed-change can_change">
+				 tal:attributes="data-ams-allowed-change 'true' if can_change else 'false'">
 				<div class="rows"
 					 data-ams-sortable-placeholder="row-highlight"
 					 data-ams-sortable-items="> .row"