--- a/src/pyams_form/templates/form.pt Thu Jun 02 15:33:30 2016 +0200
+++ b/src/pyams_form/templates/form.pt Mon Oct 24 18:08:34 2016 +0200
@@ -87,7 +87,7 @@
<tal:if condition="widget.mode != 'hidden'">
<div tal:define="required 'required-field' if widget.required and (widget.mode != 'display') else ''"
tal:attributes="class string:form-group ${required}">
- <label tal:attributes="class group.label_css_class | view.label_css_class">
+ <label tal:attributes="class widget.label_css_class | group.label_css_class | view.label_css_class">
<span>
<tal:var content="widget.label" />
<i class="fa fa-question-circle hint" title="Input hint"
--- a/src/pyams_form/templates/inner-form.pt Thu Jun 02 15:33:30 2016 +0200
+++ b/src/pyams_form/templates/inner-form.pt Mon Oct 24 18:08:34 2016 +0200
@@ -70,7 +70,7 @@
<tal:if condition="widget.mode != 'hidden'">
<div tal:define="required 'required-field' if widget.required and (widget.mode != 'display') else ''"
tal:attributes="class string:form-group ${required}">
- <label tal:attributes="class group.label_css_class | view.label_css_class">
+ <label tal:attributes="class widget.label_css_class | group.label_css_class | view.label_css_class">
<span>
<tal:var content="widget.label" />
<i class="fa fa-question-circle hint" title="Input hint"
--- a/src/pyams_form/templates/widget-form.pt Thu Jun 02 15:33:30 2016 +0200
+++ b/src/pyams_form/templates/widget-form.pt Mon Oct 24 18:08:34 2016 +0200
@@ -69,7 +69,7 @@
<tal:if condition="widget.mode != 'hidden'">
<div tal:define="required 'required-field' if widget.required and (widget.mode != 'display') else ''"
tal:attributes="class string:form-group ${required}">
- <label tal:attributes="class group.label_css_class | view.label_css_class">
+ <label tal:attributes="class widget.label_css_class | group.label_css_class | view.label_css_class">
<span>
<tal:var content="widget.label" />
<i class="fa fa-question-circle hint" title="Input hint"