djLint/tests/source_django/date_hierarchy.html
2021-12-14 09:57:37 +01:00

12 lines
439 B
HTML

{% extends "admin/date_hierarchy.html" %}
{% load i18n %}
{% block date-hierarchy-choices %}
<select id="date-selector" class="override-date_hierarchy">
{% for choice in choices %}
<option {% if choice.link %}value="{{ choice.link }}"{% endif %}>
{{ choice.title }}
</option>
{% endfor %}
</select>
<button id="date-selected">{% translate "Go" %}</button>
{% endblock %}