Commit 1f52bbe5 authored by Jérome Perrin's avatar Jérome Perrin

ERP5Form: fix some missing css classes for ZMI of some fields

parent 629d752c
...@@ -66,6 +66,7 @@ class EditorWidget(Widget.TextAreaWidget): ...@@ -66,6 +66,7 @@ class EditorWidget(Widget.TextAreaWidget):
description=( description=(
"The text editor widget to use." "The text editor widget to use."
""), ""),
css_class="form-control",
default="text_area", default="text_area",
required=1, required=1,
size=1, size=1,
......
...@@ -79,6 +79,7 @@ class ParallelListWidget(Widget.MultiListWidget, ...@@ -79,6 +79,7 @@ class ParallelListWidget(Widget.MultiListWidget,
title='Hash script', title='Hash script',
description=( description=(
"The method to call to hash items list."), "The method to call to hash items list."),
css_class="form-control code",
required=0) required=0)
def __init__(self): def __init__(self):
......
...@@ -41,12 +41,14 @@ class ReportBoxWidget(Widget.Widget): ...@@ -41,12 +41,14 @@ class ReportBoxWidget(Widget.Widget):
default = fields.StringField('default', default = fields.StringField('default',
title='Default', title='Default',
description="", description="",
css_class="form-control",
default="", default="",
required=0) required=0)
report_method = fields.StringField('report_method', report_method = fields.StringField('report_method',
title='Report Method', title='Report Method',
description="", description="",
css_class="form-control",
default="", default="",
required=0) required=0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment