Chage url mem to memorize

This commit is contained in:
duongban
2021-05-29 21:24:46 +07:00
parent 9b5d52b762
commit a57e5f76b0
2 changed files with 9 additions and 39 deletions

View File

@@ -5,7 +5,7 @@
<div class="col-xs-12 text-center">
<div class="btn-group btn-group-lg" role="group" aria-label="card type">
{% for tag in tags %}
<a href="{{ url_for('mem', card_type=tag.id) }}" class="btn btn-{{ "primary" if card_type == tag.id else "default" }}">{{tag.tagName}}</a>
<a href="{{ url_for('memorize', card_type=tag.id) }}" class="btn btn-{{ "primary" if card_type == tag.id else "default" }}">{{tag.tagName}}</a>
{% endfor %}
</div>
</div>
@@ -82,7 +82,7 @@
</a>
&nbsp;
&nbsp;
<a href="{{ url_for('mem', card_type=card_type) }}" class="btn btn-primary btn-lg">
<a href="{{ url_for('memorize', card_type=card_type) }}" class="btn btn-primary btn-lg">
Next Card
<i class="fa fa-arrow-right"></i>
</a>