Ho to convert submit button html code to RoR

Hi all

this is my html code:

I want to convert it to RoR

<%= submit_tag ‘Submit’ %>

Where do I add the class=“submit” in RoR?

thanks

On Oct 10, 6:11 pm, Pepe S. [email protected]
wrote:

Where do I add the class=“submit” in RoR?

thanks

Posted viahttp://www.ruby-forum.com/.

<%= submit_tag ‘Submit’, :class => ‘submit’ %>