title: Getting a HAML button_to work with twitter bootstrap
body: <p>I am trying to apply some basic formatting to a Ruby on Rails app using Twitter Bootstrap. I would like to create a button group with three buttons but am having trouble with my haml file. </p>
  
  <p>After looking through all the Twitter Bootstrap <a href="http://getbootstrap.com/2.3.2/components.html#buttonGroups" rel="nofollow">Documentation</a>, I think the problem is that the bootstrap style-sheet is expecting <code>&lt;button&gt;</code> elements (with the proper classes) to place in the button group.</p>
  
  <p>I am currently using the <code>button_to</code> helper in my haml file which does not appear to produce the <code>&lt;button&gt;</code> tag. But, I am not experienced enough in haml to know a way around this.</p>
  
  <p>Is there a way to make the <code>button_to</code> element generate a <code>&lt;button&gt;</code> tag, or should I be attacking this problem in a different way?</p>