Here's what I've tried, and the simple_form_for
call ignored my class setting.
# Rails code in view:
<%= simple_form_for @admin_artist, :class => 'foobarbaz' do |f| %>
# Renders:
<form accept-charset="UTF-8" action="/admin/artists" class="simple_form new_admin_artist" id="new_admin_artist" method="post" novalidate="novalidate">
Any suggestions?
this would work
You should use
:html
like this: