how would I add inline html to this erb image tag?
I want to add this html data tag inline
data-zoom-image="<% image_tag(step.i_connection.image.image.url(:large) %>"
to this erb tag, but am unsure how I would go about this. Any ideas?
<%= image_tag(step.i_connection.image.image.url(:medium), id:
"iconnection#{n}") %>
No comments:
Post a Comment