0.8.462
This commit is contained in:
@@ -92,8 +92,10 @@ function select_tab_profile (el,url,owner_type=null) {
|
||||
|
||||
|
||||
function selectTabProfileIfHisNotSelected (url) {
|
||||
let el_f_select = document.querySelector(`[data-ajax-url=${url}]`)
|
||||
el_f_select.classList.add('selected')
|
||||
if (url !== 'new_route_view') {
|
||||
let el_f_select = document.querySelector(`[data-ajax-url=${url}]`)
|
||||
el_f_select.classList.add('selected')
|
||||
}
|
||||
}
|
||||
|
||||
function clickONTHEAPROfileBTN (el) {
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<hr>
|
||||
<div class="departure_arrival">
|
||||
<div class="wrap_left">
|
||||
<label for="id_departure_DT">{{ form.fields.departure_DT.label }}</label>
|
||||
<label for="id_departure_DT">{% if form.initial.type_transport == 'road' %}Дата и время выезда{% elif form.initial.type_transport == 'avia' %}Дата и время вылета{% endif %}</label>
|
||||
|
||||
|
||||
{# <input#}
|
||||
@@ -84,7 +84,7 @@
|
||||
|
||||
</div>
|
||||
<div id="arrival_div">
|
||||
<label for="id_arrival_DT">{{ form.fields.arrival_DT.label }}</label>
|
||||
<label for="id_arrival_DT">Дата и время прибытия</label>
|
||||
{# <input#}
|
||||
{# type="datetime-local"#}
|
||||
{# min= {% now "Y-m-d" %}T{% now "H:i" %}#}
|
||||
@@ -109,7 +109,7 @@
|
||||
<hr>
|
||||
<div class="from_to_country">
|
||||
<div class="from_country_container">
|
||||
<label for="id_from_address_point_txt">{{ form.fields.from_address_point.label }}</label>
|
||||
<label for="id_from_address_point_txt">{% if form.initial.type_transport == 'avia' %}Пункт вылета{% elif form.initial.type_transport == 'road' %}Пункт выезда{% endif %}</label>
|
||||
<input
|
||||
type="number"
|
||||
name="from_address_point"
|
||||
@@ -145,7 +145,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="wrap_right">
|
||||
<label for="id_to_address_point_txt">{{ form.fields.to_address_point.label }}</label>
|
||||
<label for="id_to_address_point_txt">{% if form.initial.type_transport == 'avia' %}Пункт прилета{% elif form.initial.type_transport == 'road' %}Пункт приезда{% endif %}</label>
|
||||
<input
|
||||
type="number"
|
||||
name="to_address_point"
|
||||
|
||||
Reference in New Issue
Block a user