0.0.180
This commit is contained in:
@@ -33,7 +33,8 @@
|
||||
<select
|
||||
onchange="OnSelectionChange(this)"
|
||||
name="type_transport"
|
||||
id="id_type_transport">
|
||||
id="id_type_transport"
|
||||
class="el_form_b_new_route">
|
||||
|
||||
{% for item in form.fields.type_transport.choices %}
|
||||
<option
|
||||
@@ -63,6 +64,7 @@
|
||||
name="departure_DT"
|
||||
{% if form.fields.departure_DT.required %} required{% endif %}
|
||||
id="id_departure_DT"
|
||||
class="el_form_b_new_route"
|
||||
{% if form.initial.departure_DT %}value="{{ form.initial.departure_DT.date|date:"Y-m-d" }}T{{ form.initial.departure_DT.time|date:"H:i" }}"{% endif %}
|
||||
/>
|
||||
|
||||
@@ -78,6 +80,7 @@
|
||||
name="arrival_DT"
|
||||
{% if form.fields.arrival_DT.required %} required{% endif %}
|
||||
id="id_arrival_DT"
|
||||
class="el_form_b_new_route"
|
||||
{% if form.initial.arrival_DT %}value="{{ form.initial.arrival_DT.date|date:"Y-m-d" }}T{{ form.initial.arrival_DT.time|date:"H:i" }}"{% endif %}
|
||||
/>
|
||||
{% if not errors_off and form.errors and form.errors.arrival_DT %}
|
||||
@@ -94,6 +97,7 @@
|
||||
type="number"
|
||||
name="from_address_point"
|
||||
id="id_from_address_point"
|
||||
class="el_form_b_new_route"
|
||||
hidden
|
||||
{% if form.initial.from_address_point %}value="{{ form.initial.from_address_point }}"{% endif %}
|
||||
/>
|
||||
@@ -106,7 +110,7 @@
|
||||
type="text"
|
||||
minlength="3"
|
||||
name="from_address_point_txt"
|
||||
class="from_address_point_txt post_route"
|
||||
class="from_address_point_txt post_route el_form_b_new_route"
|
||||
{% if form.fields.from_address_point.required %} required{% endif %}
|
||||
id="id_from_address_point_txt"
|
||||
{% if form.initial.from_address_point_txt %}value="{{ form.initial.from_address_point_txt }}"{% endif %}
|
||||
@@ -128,6 +132,7 @@
|
||||
type="number"
|
||||
name="to_address_point"
|
||||
id="id_to_address_point"
|
||||
class="el_form_b_new_route"
|
||||
hidden
|
||||
{% if form.initial.to_address_point %}value="{{ form.initial.to_address_point}}"{% endif %}
|
||||
/>
|
||||
@@ -142,7 +147,7 @@
|
||||
name="to_address_point_txt"
|
||||
{% if form.fields.to_address_point.required %} required{% endif %}
|
||||
id="id_to_address_point_txt"
|
||||
class="to_address_point_txt post_route"
|
||||
class="to_address_point_txt post_route el_form_b_new_route"
|
||||
{% if form.initial.to_address_point_txt %}value="{{ form.initial.to_address_point_txt}}"{% endif %}
|
||||
|
||||
/>
|
||||
@@ -166,6 +171,7 @@
|
||||
<div>
|
||||
<label for="id_from_place">{{ form.fields.from_place.label }}</label>
|
||||
<select
|
||||
class="el_form_b_new_route"
|
||||
name="from_place"
|
||||
{# onchange="hideErrorMsg(this)"#}
|
||||
id="id_from_place"
|
||||
@@ -186,6 +192,7 @@
|
||||
<select
|
||||
name="to_place"
|
||||
id="id_to_place"
|
||||
class="el_form_b_new_route"
|
||||
{% if form.fields.to_place.required %} required{% endif %}>
|
||||
{% for item in form.fields.to_place.choices %}
|
||||
<option
|
||||
@@ -216,7 +223,8 @@
|
||||
<input
|
||||
class="custom-checkbox"
|
||||
type="checkbox"
|
||||
name="cargo_type"
|
||||
name="cargo_type"
|
||||
class="el_form_b_new_route"
|
||||
id="id_cargo_type_{{ forloop.counter }}"
|
||||
{% if form.fields.cargo_type.required %} required{% endif %}
|
||||
value="{{ item.0 }}"
|
||||
@@ -248,6 +256,7 @@
|
||||
maxlength="4"
|
||||
class="js-input"
|
||||
placeholder="Укажите вес"
|
||||
class="el_form_b_new_route"
|
||||
{% if form.fields.weight.required %} required{% endif %}
|
||||
|
||||
/>
|
||||
@@ -260,7 +269,8 @@
|
||||
|
||||
<input
|
||||
type="text"
|
||||
id="id_weight"id="id_weight"
|
||||
id="id_weight" id="id_weight"
|
||||
class="el_form_b_new_route"
|
||||
name="weight"
|
||||
{% if form.initial.weight %}
|
||||
value="{{ form.initial.weight }}"
|
||||
@@ -284,6 +294,7 @@
|
||||
autocomplete="off"
|
||||
maxlength="13"
|
||||
minlength="11"
|
||||
class="el_form_b_new_route"
|
||||
placeholder="{{ form.fields.phone.label }}"
|
||||
{% if form.fields.phone.required %} required{% endif %}
|
||||
id="id_phone"
|
||||
@@ -302,6 +313,7 @@
|
||||
type="phone"
|
||||
name="extra_phone"
|
||||
id="id_extra_phone"
|
||||
class="el_form_b_new_route"
|
||||
autocomplete="off"
|
||||
maxlength="13"
|
||||
minlength="11"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
|
||||
<div class="title-profile-cont">
|
||||
Подписка
|
||||
@@ -7,7 +8,7 @@
|
||||
<div>
|
||||
|
||||
<div class="state_subscribe">
|
||||
У вас <a>не оформлена подписка</a>
|
||||
{% translate "У вас" %} <a>{% translate "не оформлена подписка" %}</a>
|
||||
</div>
|
||||
|
||||
<div class="state_subscribe">
|
||||
|
||||
Reference in New Issue
Block a user