From d1ad6cfa24e3cba0d2a2a959d429459801a6b6be Mon Sep 17 00:00:00 2001 From: ArtemB Date: Thu, 1 Aug 2024 11:12:26 +0300 Subject: [PATCH] 1.1.54 add readonly for departure/arrival input --- templates/blocks/profile/b_new_route.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index 92382ee..cf91382 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -197,6 +197,7 @@ {# onchange="checkDate()"#} {# onclick="setIcon(this)"#} onmouseup="hideErrors(this)" + readonly type="text" id="id_departure_DT" name="departure_DT" @@ -235,6 +236,7 @@ onchange="checkDate()" onmouseup="hideErrors(this)" type="text" + readonly id="id_arrival_DT" name="arrival_DT" placeholder="{% translate "Выберите дату и время" %}" {% if form.initial.arrival_DT %}