tabs) and kill the scripts block in favour of just using a js block with a script tag (which is easier to understand for context-sensitive modes such as web-mode in Emacs). Also fix a couple of details, e.g. missing semicolons in JS snippets. - Legacy-Id: 9096
12 lines
430 B
HTML
12 lines
430 B
HTML
{% load ietf_filters %}
|
|
|
|
<h1>{{ doc.title }}<br><small>{{ name }}</small></h1>
|
|
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
{% for name, t, url, active, tooltip in tabs %}
|
|
<li {% if tooltip %}title="{{tooltip}}"{% endif %} class="{% if t == selected %}active {% endif %}{% if not active %}disabled {% endif %}">
|
|
<a {% if active %}href="{{ url }}"{% endif %}>{{ name|capfirst_allcaps }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|