I have a Super Tables field, containing related entries:
I'd like to display the field name (ie 'English Links') in a template, but can't figure out how, the following outputs a string of values and if I try to add a handle to the row output I get 'Impossible to access an attribute ("handle") on a string variable'.
{% for row in entry.relatedArticleLinks %}
{{ row }}
{% endfor %}
I really don't think this was written very well in the first place tbh, as the rows are hard coded:
<div class="w-full md:w-1/3 my-1">
<h3>English</h3>
<ul class="list-reset">
{% for link in entry.relatedArticleLinks.englishLinks %}
<li><a href="{{ link.url }}" class="text-black text-sm">{{ link.title }}</a></li>
{% endfor %}
</ul>
</div>
I'm sure there's a better way of displaying this field which would allow new rows to be displayed automatically?