FIX
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
<h1>{{ title }}</h1>
|
||||
<div class="form">
|
||||
<form action="" method="post" onsubmit="return check_month({{ date_today.month }})">
|
||||
<form action="" method="post" onsubmit="return check_month({{ date_today.month }}, {{ date_today.year }})">
|
||||
<label for="category">Выберите предмет формирования отчета</label>
|
||||
<select name="category" id="category" required>
|
||||
{% for item in items.keys() %}
|
||||
@@ -37,7 +37,7 @@
|
||||
<option value="11">Ноябрь</option>
|
||||
<option value="12">Декабрь</option>
|
||||
</select>
|
||||
<input type="number" name="year" value={{ date_today.year }} min="2000" max={{ date_today.year }} required>
|
||||
<input type="number" id= "year" name="year" value={{ date_today.year }} min="2000" max={{ date_today.year }} required>
|
||||
</div>
|
||||
|
||||
{% if is_write %}
|
||||
|
||||
Reference in New Issue
Block a user