My code:
<%= button_to 'Login', {:type => 'submit', :class => 'submit'} , {}%>
I want to end up with this:
<input type='submit' value='submit' class=submit/>
but what I'm getting is:
<input type=submit value=submit/>
how to set the class?