rails simple_form disable form class?
-
26-10-2019 - |
Question
Is is possible to disable the form class="" for rails simple_form? already tried :class => false to no avail.
= simple_form_for profiles_path, :method => :get do |f|
I don't want something like this:
<form class="simple_form /profiles" method="get" action="/people" accept-charset="UTF-8">
But I want something like this
<form class="" method="get" action="/people" accept-charset="UTF-8">
Solution
it is a workaround but could you just use class="dummy" and then define that class as just being empty, e.g. in .css just .dummy
then the next tag styles?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow