Fixes dashboard page for html validator complaints

This commit is contained in:
Mouse Reeve 2021-09-28 13:54:41 -07:00
parent afcd296513
commit 29ef6df714

View file

@ -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:" %}
</label>
<div class="select"> <div class="select">
<select name="days"> <select name="days" id="id_interval">
<option value="1" {% if interval == 1 %}selected{% endif %}>{% trans "Days" %}</option> <option value="1" {% if interval == 1 %}selected{% endif %}>{% trans "Days" %}</option>
<option value="7" {% if interval == 7 %}selected{% endif %}>{% trans "Weeks" %}</option> <option value="7" {% if interval == 7 %}selected{% endif %}>{% trans "Weeks" %}</option>
</select> </select>
</div> </div>
</label>
</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>