Files
2024-03-07 09:46:05 -06:00

24 lines
459 B
HTML

{% extends "layout.html" %}
{% block title %}
Dictionary
{% endblock %}
{% block content %}
{% if page > 0 %}<a href="{{ url_for('dictionary', page=page-1) }}">Prev</a>{% endif %}
Page {{ page }} / {{ max_pages }}
{% if page < max_pages %}<a href="{{ url_for('dictionary', page=page+1) }}">Next</a>{% endif %}
<ul>
{% for word in words %}
<li>{{ word }}</li>
{% endfor %}
</ul>
{% endblock %}