1 {% extends
"admin/base_site.html" %}
3 {% load url from future %}
5 {% block coltype %}colSM{% endblock %}
6 {% block breadcrumbs %}
7 <div class=
"breadcrumbs">
8 <a href=
"{% url 'admin:index' %}">{% trans 'Home' %}
</a>
9 › <a href=
"{% url 'django-admindocs-docroot' %}">{% trans 'Documentation' %}
</a>
10 › {% trans 'Tags' %}
13 {% block title %}Template tags{% endblock %}
17 <h1>Template tag documentation
</h1>
19 <div id=
"content-main">
20 {% regroup tags|dictsort:
"library" by library as tag_libraries %}
21 {% for library in tag_libraries %}
23 <h2>{% firstof library.grouper
"Built-in tags" %}
</h2>
24 {% if library.grouper %}
<p class=
"small quiet">To use these tags, put
<code>{% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %}
</code> in your template before using the tag.
</p><hr />{% endif %}
25 {% for tag in library.list|dictsort:
"name" %}
26 <h3 id=
"{{ library.grouper|default_if_none:"built_in
" }}-{{ tag.name }}">{{ tag.name }}
</h3>
27 <h4>{{ tag.title|striptags }}
</h4>
29 {% if not forloop.last %}
<hr />{% endif %}
39 <div id=
"content-related">
41 {% regroup tags|dictsort:
"library" by library as tag_libraries %}
42 {% for library in tag_libraries %}
44 <h2>{% firstof library.grouper
"Built-in tags" %}
</h2>
46 {% for tag in library.list|dictsort:
"name" %}
47 <li><a href=
"#{{ library.grouper|default_if_none:"built_in
" }}-{{ tag.name }}">{{ tag.name }}
</a></li>