On Oct 10, 6:11 pm, Pepe Sanchez <[EMAIL PROTECTED]>
wrote:
> Hi all
>
> 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?
>
> thanks
> --
> Posted viahttp://www.ruby-forum.com/.

<%= submit_tag 'Submit', :class => 'submit' %>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to