We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf8b84f commit 042cb66Copy full SHA for 042cb66
app/helpers/rails_admin/form_builder.rb
@@ -34,7 +34,7 @@ def field_wrapper_for(field, nested_in)
34
if field.label
35
# do not show nested field if the target is the origin
36
unless nested_field_association?(field, nested_in)
37
- @template.content_tag(:div, class: "control-group #{field.type_css_class} #{field.css_class} #{'error' if field.errors.present?}", id: "#{dom_id(field)}_field") do
+ @template.content_tag(:div, class: "form-group control-group #{field.type_css_class} #{field.css_class} #{'error' if field.errors.present?}", id: "#{dom_id(field)}_field") do
38
label(field.method_name, capitalize_first_letter(field.label), class: 'col-sm-2 control-label') +
39
(field.nested_form ? field_for(field) : input_for(field))
40
end
0 commit comments