mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
Apply symbolize filter to template
This commit is contained in:
parent
926382172a
commit
505106d881
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
{% for section_key, section in document.data|items %}
|
{% for section_key, section in document.data|items %}
|
||||||
{% if section_key %}
|
{% if section_key %}
|
||||||
<h2 id="{{ section_key }}" class="coredocs-section-title">{{ section_key }} <a href="#{{ section_key }}"><i class="fa fa-link" aria-hidden="true"></i>
|
<h2 id="{{ section_key }}" class="coredocs-section-title">{{ section_key | symbolize }} <a href="#{{ section_key }}"><i class="fa fa-link" aria-hidden="true"></i>
|
||||||
</a></h2>
|
</a></h2>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user