Ruby on Rails Tuesday, September 1, 2015

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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.

No comments:

Post a Comment