I am using theme that i bought for my rails project and author of the theme uses html5 data attributes to background image and the code looks like this
<section class="jumbotron full-height relative" data-pages-bg-image="assets/images/banner_1.jpg" data-bg-overlay="black" data-overlay-opacity="0.5">
I found a resource on how to use data attributes with rails but its not really working for me. Here is the link that i found http://api.rubyonrails.org/classes/ActionView/Helpers/TagHelper.html#method-i-tag
how would i convert the above code to work in rails(I'm using erb as a template engine)