Ho to convert submit button html code to RoR


#1

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


#2

On Oct 10, 6:11 pm, Pepe S. removed_email_address@domain.invalid
wrote:

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

thanks

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

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