Revert "Replaces date elements with datepicker"
This reverts commit 869cfa6d34
.
This commit is contained in:
@ -5,11 +5,7 @@
|
||||
<div class="field">
|
||||
<label class="label">
|
||||
{% trans "Started reading" %}
|
||||
<duet-date-picker
|
||||
identifier="id_start_date-{{ readthrough.id }}"
|
||||
name="start_date"
|
||||
value="{{ readthrough.start_date | date:'Y-m-d' }}">
|
||||
</duet-date-picker>
|
||||
<input type="date" name="start_date" class="input" id="id_start_date-{{ readthrough.id }}" value="{{ readthrough.start_date | date:"Y-m-d" }}">
|
||||
</label>
|
||||
</div>
|
||||
{# Only show progress for editing existing readthroughs #}
|
||||
@ -32,10 +28,6 @@
|
||||
<div class="field">
|
||||
<label class="label">
|
||||
{% trans "Finished reading" %}
|
||||
<duet-date-picker
|
||||
identifier="id_finish_date-{{ readthrough.id }}"
|
||||
name="finish_date"
|
||||
value="{{ readthrough.finish_date | date:'Y-m-d' }}">
|
||||
</duet-date-picker>
|
||||
<input type="date" name="finish_date" class="input" id="id_finish_date-{{ readthrough.id }}" value="{{ readthrough.finish_date | date:"Y-m-d" }}">
|
||||
</label>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user