I have a piece of content with an 'Asset Type' field value of Vidyard. I am using the Views module to render this content on another page. I have added those fields to the View, but is it possible to add them as a data-attribute to the HTML. For example, the Views module outputs:
<li class="views-row views-row-2 views-row-even views-row-last"> etc. </li> How can I add my "Asset Type" field as a data-attribute to the list item. Making my output:
<li class="views-row views-row-2 views-row-even views-row-last" data-asset="vidyard"> Is there a way to do this without altering the template?
