sort kinds when adding time/audio

This commit is contained in:
boyska 2016-09-15 09:43:33 +02:00
parent c56d0ad718
commit 6135ddc144
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
<h2>Add audio specification</h2>
Available kinds:
<ul>
{% for kind in kinds %}
{% for kind in kinds|sort %}
<li><a href="{{url_for('db.addaudio_kind', kind=kind)}}">{{kind}}
{% endfor %}
</ul>

View file

@ -6,9 +6,9 @@
<h2>Add time specification</h2>
Available kinds:
<ul>
{% for kind in kinds %}
{% for kind in kinds|sort %}
<li><a href="{{url_for('db.addtime_kind', kind=kind)}}">{{kind}}
{% endfor %}
{% endfor %}
</ul>
</div>
{% endblock content %}