contentmatcher/templates/settings.html

21 lines
863 B
HTML

{% extends 'partials/base.html' %}
{% block name %}settings{% endblock %}
{% block content %}
<main>
<form method="post" action={{ url_for('settings.save_settings') }}>
<label for="quantity">Maximum new cards per session</label>
<input type="number" id="quantity" name="max_new" value= '{{ settings['max_new'] }}' min="0" required="required">
<label for="quantity">Maximum seen cards per session</label>
<input type="number" id="quantity" name="max_due" value='{{ settings['max_due'] }}' min="0" required="required">
<!--
@TODO napiši to funkcijo, preden se kaže ui za njo
<label for="quantity">Maximum shared cards per session</label>
<input type="number" id="quantity" name="max_shared" value='{{ settings['max_shared'] }}' min="0" required="required">
-->
<input type="submit" value="Save">
</form>
</main>
{% endblock %}