On Oct 10, 6:11 pm, Pepe Sanchez
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---