--- a/src/pyams_form/templates/form.pt Wed Jul 01 10:11:48 2015 +0200
+++ b/src/pyams_form/templates/form.pt Wed Jul 22 16:58:25 2015 +0200
@@ -35,6 +35,8 @@
tal:condition="legend">
<i tal:attributes="class view.icon_css_class | nothing"></i>
<tal:var content="legend">Legend</tal:var>
+ <tal:var condition="python:getattr(view, 'show_widget_title', False)"
+ content="structure provider:pyams.widget_title" />
</legend>
<tal:var content="structure provider:content_help" />
<div class="widgets-prefix"
--- a/src/pyams_form/templates/inner-form.pt Wed Jul 01 10:11:48 2015 +0200
+++ b/src/pyams_form/templates/inner-form.pt Wed Jul 22 16:58:25 2015 +0200
@@ -26,6 +26,8 @@
<legend class="inner" tal:condition="legend">
<i tal:attributes="class view.icon_css_class | nothing"></i>
<tal:var content="legend">Legend</tal:var>
+ <tal:var condition="python:getattr(view, 'show_widget_title', False)"
+ content="structure provider:pyams.widget_title" />
</legend>
<tal:var content="structure provider:content_help" />
<div class="widgets-prefix"