I am currently utilizing this resource to create a gallery of images on my Rails page. Here is the HTML code required to display the images:
<a href="assets/gallery/ave.jpg" title="Ave" data-gallery>
<img src="assets/gallery/ave_tb.jpg" alt="Ave">
</a>
I am attempting to convert this code into ERB, but I am struggling with generating the 'data-gallery' section that is essential for the JavaScript functionality to work properly. Any help would be greatly appreciated. Thank you.