17 lines
803 B
HTML
17 lines
803 B
HTML
{% extends 'base.html' %}
|
|
quantity
|
|
{% block header %}
|
|
<head>Settings</head>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<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">
|
|
<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>
|
|
{% endblock %} |