This commit is contained in:
2023-11-29 21:28:42 +03:00
parent 4a59adc73f
commit 43ef016751
4 changed files with 5 additions and 5 deletions

View File

@@ -46,7 +46,7 @@
<h2 id=title_static>{% translate "Стоимость" %}</h2>
<span id="sub_title_static">{% translate "Оставьте заявку и получите персональное коммерческое предложение" %}</span>
<form>
<form name="msg_from_advertisement">
<div class="inputs_l">
<input name="username" type="text" placeholder="{{ p_name }}" {% if form.data.username %} value="{{ form.data.username }}"{% endif %}>
{% if form.username and form.errors.username %}

View File

@@ -33,7 +33,7 @@
<div id="scroll_to_div" class="bottom_block_static">
<div id=title_static >{% translate "Стань нашим партнером" %}</div>
<span id="sub_title_static">{% translate "Оставь заявку и получи пресональное предложение о партнерстве" %}</span>
<form>
<form name="msg_from_partners">
<div class="inputs_l">
<input name="username" type="text" placeholder="{% translate 'Имя' %}" {% if form.data.username %} value="{{ form.data.username }}"{% endif %}>
{% if form.username and form.errors.username %}

View File

@@ -101,7 +101,7 @@
<div class="cont-el-form-search-carrier el_form_find_route">
<label style="opacity: 0">test</label>
{% if show_filter_and_results %}
<button class="btn_find_routes" onclick="filters_func_find_route_main(this,'{{ owner_type }}')" data-owner_type='{{ owner_type }}'>{% translate "Найти" %}</button>
<button class="btn_find_routes" onclick="filters_func_find_route_main(this)" data-owner_type='{{ owner_type }}'>{% translate "Найти" %}</button>
{% else %}
<button class="btn_find_routes" onclick="filters_func_find_route_main(this,'{{ owner_type }}','{% url "route_search_results_View" %}')" data-owner_type='{{ owner_type }}'>{% translate "Найти" %}</button>
{% endif %}

View File

@@ -37,12 +37,12 @@
<div class="switch">
<div class="form_radio_btn">
<input class="{% if route.owner_type == 'mover' %}active {% else %} deactive{% endif %} el_form_find_route" id="radio-1" type="radio" name="owner_type" value="mover" >
<input class="{% if route.owner_type == 'mover' %}active {% else %} deactive{% endif %} el_form_find_route" id="radio-1" type="radio" name="owner_type" value="mover" >
<label for="radio-1">{% translate "Найти перевозчика" %}</label>
</div>
<div class="form_radio_btn">
<input class="{% if route.owner_type == 'customer' %}active {% else %} deactive{% endif %} el_form_find_route" id="radio-2" type="radio" name="owner_type" value="customer" checked>
<input class="{% if route.owner_type == 'customer' %}active {% else %} deactive{% endif %} el_form_find_route" id="radio-2" type="radio" name="owner_type" value="customer" checked>
<label for="radio-2">{% translate "Найти отправителя" %}</label>
</div>
</div>