{% comment %}NexUI Tabs v1.0.0 Usage in view: tabs = [ {"id": "account", "label": "Account", "content": "

Account content

"}, {"id": "password", "label": "Password", "content": "

Password content

"}, ] Usage in template: {% include "components/tabs.html" with tabs=tabs active_tab="account" %} For dynamic content, pass rendered HTML strings from the view (use render_to_string). {% endcomment %}
{% for tab in tabs %} {% endfor %}
{% for tab in tabs %}
{{ tab.content|safe }}
{% endfor %}