diff --git a/ccm-core/src/com/arsdigita/bebop/form/Widget.java b/ccm-core/src/com/arsdigita/bebop/form/Widget.java index 70de69046..e03481f07 100755 --- a/ccm-core/src/com/arsdigita/bebop/form/Widget.java +++ b/ccm-core/src/com/arsdigita/bebop/form/Widget.java @@ -526,6 +526,7 @@ public abstract class Widget extends BlockStylable implements Cloneable, widget.addAttribute("type", getType()); widget.addAttribute("name", getName()); + widget.addAttribute("class", getName().replace(".", " ")); if (m_label != null) { widget.addAttribute("label", (String) m_label.localize(state.getRequest()));