remove the class="simple-form"
Looks like this may be the config option for it: https://github.com/search?q=repo%3Aheartcombo%2Fsimple_form%20default_form_class&type=code
hello,
I've tried using /config/initializers/simple_form.rb
config.default_form_class = nil
and also:
<%= simple_form_for(resource, as: resource_name,
url: registration_path(resource_name), html: { class: nil, id: nil }) do |f| %>
the id has been removed, but the class remains
Seems like it is config.form_class
even though it's deprecated.
It appears to be using both the new and deprecated options:
https://github.com/heartcombo/simple_form/blob/c2c7faf3e532072e1ef511a97d677ae0e7c38957/lib/simple_form/action_view_extensions/form_helper.rb#L20-L23
config.default_form_class = ' '
or
config.default_form_class = ' '
the class continues
Nope. I haven't used that gem in probably 10+ years.
See my last comment on how to disable that class with the deprecated config.