this is my html code:
<input type="submit" value="Submit" class="submit" />
I want to convert it to RoR
<%= submit_tag 'Submit' %>
Where do I add the class="submit" in RoR?
<%= submit_tag 'Submit', :class => 'submit' %>
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks