--- 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"