forked from mirrors/bookwyrm
Fixes dashboard page for html validator complaints
This commit is contained in:
parent
afcd296513
commit
29ef6df714
1 changed files with 11 additions and 11 deletions
|
@ -67,27 +67,27 @@
|
||||||
<form method="get" action="{% url 'settings-dashboard' %}" class="notification has-background-white-bis">
|
<form method="get" action="{% url 'settings-dashboard' %}" class="notification has-background-white-bis">
|
||||||
<div class="is-flex is-align-items-flex-end">
|
<div class="is-flex is-align-items-flex-end">
|
||||||
<div class="ml-1 mr-1">
|
<div class="ml-1 mr-1">
|
||||||
<label class="label">
|
<label class="label" for="id_start">
|
||||||
{% trans "Start date:" %}
|
{% trans "Start date:" %}
|
||||||
<input class="input" type="date" name="start" value="{{ start }}">
|
|
||||||
</label>
|
</label>
|
||||||
|
<input class="input" type="date" name="start" value="{{ start }}" id="id_start">
|
||||||
</div>
|
</div>
|
||||||
<div class="ml-1 mr-1">
|
<div class="ml-1 mr-1">
|
||||||
<label class="label">
|
<label class="label" for="id_end">
|
||||||
{% trans "End date:" %}
|
{% trans "End date:" %}
|
||||||
<input class="input" type="date" name="end" value="{{ end }}">
|
|
||||||
</label>
|
</label>
|
||||||
|
<input class="input" type="date" name="end" value="{{ end }}" id="id_end">
|
||||||
</div>
|
</div>
|
||||||
<div class="ml-1 mr-1">
|
<div class="ml-1 mr-1">
|
||||||
<label class="label">
|
<label class="label" for="id_interval">
|
||||||
{% trans "Interval:" %}
|
{% trans "Interval:" %}
|
||||||
<div class="select">
|
|
||||||
<select name="days">
|
|
||||||
<option value="1" {% if interval == 1 %}selected{% endif %}>{% trans "Days" %}</option>
|
|
||||||
<option value="7" {% if interval == 7 %}selected{% endif %}>{% trans "Weeks" %}</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</label>
|
</label>
|
||||||
|
<div class="select">
|
||||||
|
<select name="days" id="id_interval">
|
||||||
|
<option value="1" {% if interval == 1 %}selected{% endif %}>{% trans "Days" %}</option>
|
||||||
|
<option value="7" {% if interval == 7 %}selected{% endif %}>{% trans "Weeks" %}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ml-1 mr-1">
|
<div class="ml-1 mr-1">
|
||||||
<button class="button is-link" type="submit">{% trans "Submit" %}</button>
|
<button class="button is-link" type="submit">{% trans "Submit" %}</button>
|
||||||
|
|
Loading…
Reference in a new issue