Updated definition
authorThierry Florac <thierry.florac@onf.fr>
Wed, 20 Sep 2017 12:13:36 +0200
changeset 65 e5dd3518be91
parent 64 dba35978d973
child 66 b4ebe523bb4e
Updated definition
src/pyams_form/templates/inner-form.pt
--- a/src/pyams_form/templates/inner-form.pt	Tue Sep 19 11:32:52 2017 +0200
+++ b/src/pyams_form/templates/inner-form.pt	Wed Sep 20 12:13:36 2017 +0200
@@ -1,6 +1,5 @@
 <div class="no-padding"
-	 tal:define="content_name getattr(view.getContent(), '__name__', 'noname');
-				 content_name content_name.replace('++', '');"
+	 tal:define="content_name getattr(view.getContent(), '__name__', 'noname').replace('++', '');"
 	 tal:attributes="class string:${view.css_class} ${view.padding_class | default};
 					 id string:${context.__class__.__name__}_${content_name}_${view.id};">
 	<div tal:define="prefix provider:form_prefix"