title: Styling Rails button link helpers with Twitter Bootstrap
body: <p>I'm using Rails helpers to generate buttons and I'm trying to style the buttons with Twitter bootstrap styles for buttons.  I've added classes with the <code>:html</code> option. The page isn't breaking but the styles aren't showing up. </p>
  
  <pre><code>&lt;%= button_to('Sign Up', new_user_registration_path, :html =&gt; {:class =&gt; 'btn.btn-large.btn-primary'})  %&gt;
  &lt;%= button_to "Sign Up", user_omniauth_authorize_path(:facebook), :html =&gt; {:class =&gt; 'btn.btn-large.btn-primary'} %&gt;
  </code></pre>
  
  <p>This is page source for the facebook button</p>
  
  <pre><code>&lt;form action="/users/sign_up" class="button_to" method="post"&gt;&lt;div&gt;&lt;input html="{:class=&amp;gt;&amp;quot;btn.btn-large.btn-primary&amp;quot;}" type="submit" value="Sign Up" /&gt;&lt;input name="authenticity_token" type="hidden" value="QIvZqd9BRV8TMspMvckAUjhC68nm3NTyQCxVRHFA4PE=" /&gt;&lt;/div&gt;&lt;/form&gt;
  &lt;form action="/users/auth/facebook" class="button_to" method="post"&gt;&lt;div&gt;&lt;input html="{:class=&amp;gt;&amp;quot;btn.btn-large.btn-primary&amp;quot;}" type="submit" value="Sign Up" /&gt;&lt;input name="authenticity_token" type="hidden" value="QIvZqd9BRV8TMspMvckAUjhC68nm3NTyQCxVRHFA4PE=" /&gt;&lt;/div&gt;&lt;/form&gt;
  </code></pre>
  
  <p>any idea what I'm doing wrong? </p>
  
  <p><img src="https://i.stack.imgur.com/W7VXg.png" alt="enter image description here"></p>