Даты как параметры + страница для ошибок
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
<p>Выберите даты:</p>
|
||||
<p>с <input type="date" name="date_from" required min="2000-01-01" max="2024-12-31" id="date_from"></p>
|
||||
<p>по <input type="date" name="date_to" required min="2000-01-01" max="2024-12-31" id="date_to"></p>
|
||||
<p>с <input type="date" name="date_from" required min={{ date_from }} max={{ date_to }} id="date_from"></p>
|
||||
<p>по <input type="date" name="date_to" required min={{ date_from }} max= {{ date_to }}" id="date_to"></p>
|
||||
<input type="submit" value="Отправить">
|
||||
</form>
|
||||
<div class="return">
|
||||
|
||||
Reference in New Issue
Block a user