I'm trying to apply the bootstrap class "form-horizontal center" to my rails form_for helper as follows:
<%= form_for(@customer), :html => {:class => "form-horizontal center"} do |f| %>
I am getting a syntax error.
I have looked at this with no luck: How to add a class to the form_for helper in a Rails 4 app?
Any ideas?