Im using this to make a gallery of images in my rails page. The html to put the images is this
<a href="assets/gallery/ave.jpg" title="Ave" data-gallery>
<img src="assets/gallery/ave_tb.jpg" alt="Ave">
</a>
im trying to make the code with erb but cant generate the 'data-gallery' part that is necessary to the javascript to work. thanks.