--- a/src/pyams_form/templates/form.pt Mon Oct 24 18:08:34 2016 +0200
+++ b/src/pyams_form/templates/form.pt Tue Nov 15 09:56:10 2016 +0100
@@ -99,7 +99,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()" />
--- a/src/pyams_form/templates/inner-form.pt Mon Oct 24 18:08:34 2016 +0200
+++ b/src/pyams_form/templates/inner-form.pt Tue Nov 15 09:56:10 2016 +0100
@@ -82,7 +82,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()" />
--- a/src/pyams_form/templates/widget-form.pt Mon Oct 24 18:08:34 2016 +0200
+++ b/src/pyams_form/templates/widget-form.pt Tue Nov 15 09:56:10 2016 +0100
@@ -81,7 +81,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()" />
--- a/src/pyams_form/widget/__init__.py Mon Oct 24 18:08:34 2016 +0200
+++ b/src/pyams_form/widget/__init__.py Tue Nov 15 09:56:10 2016 +0100
@@ -309,7 +309,7 @@
class HTMLWidget(TextAreaWidget):
"""HTML editor widget"""
- label_css_class = 'textarea'
+ widget_css_class = 'textarea'
@property
def editor_data(self):