Ruby on Rails Tuesday, December 11, 2012

Is there a way to embed a hyperlink in a form label in Rails using link_to?

I am trying to do this in a form field as follows:

<%= f.label "Accept Terms of Service?" %>

I appreciate any ideas.

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/9t5akXsW_u4J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment