Ruby on Rails Saturday, January 23, 2016

I have to pass an attribute to links for bootstrap-image-gallery, the docs say to build a link like this
 <a href="images/apple.jpg" title="Apple" data-gallery> so then data-gallery is called an attribute in html5, would that be a "data attribute" in rails? how would i create the link with link_to

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/745d996b-f664-4a6c-a82e-5fdd8e3917c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment