{% comment %} The iOS theme's tabs — the same server-driven contract as the default `components/tabs.html`, restyled as a segmented control. Theme packs can ship their own copy of a component template, so this change had to be mirrored here or the iOS theme would have kept the retired client-side hook. Keep this in step with `components/tabs.html`: `dj-click="set_tab"` carrying the index as `data-value`, and a stringified `active` comparison (the DEP-002 `Tabs` descriptor stores the client's string, while `{% theme_tabs %}` is called with an int index — `0 == "0"` is False, and the tab set would never move). {% endcomment %}
{% for tab in tabs %} {% endfor %}
{% for tab in tabs %}
{{ tab.content|safe }}
{% endfor %}