--- a/src/pyams_portal/zmi/templates/portlet.pt Tue Nov 15 10:25:02 2016 +0100
+++ b/src/pyams_portal/zmi/templates/portlet.pt Tue Nov 15 10:25:47 2016 +0100
@@ -101,7 +101,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"
@@ -113,7 +113,7 @@
</label>
<div tal:attributes="class widget.input_css_class | group.input_css_class | view.input_css_class">
<label class="input"
- tal:attributes="class widget.label_css_class | default;
+ tal:attributes="class widget.widget_css_class | default;
data-ams-data extension:object_data(widget);
data-ams-form-validator view.get_widget_callback(widget.field.getName())">
<input tal:replace="structure widget.render()" />