You're right it shouldn't matter but when things aren't working like they
should be without any obvious explanation you try everything.
And BTW
<div class="actions form-group">
<%= f.submit class: 'btn btn-success' %>
</div>
That shouldn't work either if you copied and pasted right from your code
because there's a comma missing between submit and class
(I did test f.submit, class 'btn btn-primary' just now on my lunch break
and it worked for me as I expected, so there's something else in the
original posters code causing the issue)
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CAEBjNa3u5f-zTFQukuOidmA9EVkjDv6BsJecr4bWm3tEZL2G8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.