This commit is contained in:
2023-08-15 15:50:49 +03:00
parent 9e3306f1be
commit a970f06dc8
2 changed files with 18 additions and 4 deletions

View File

@@ -605,6 +605,7 @@ input.deactive {
.custom-checkbox+label {
display: block;
user-select: none;
position: relative;
}
.custom-checkbox+label > span {
@@ -660,6 +661,8 @@ input.deactive {
}
#img_msg_by_email{
margin-top: 7px;
position: absolute;
left: 33%;
}
section.login {
@@ -948,6 +951,12 @@ select {
}
.receive_msg_by_email{
display: inline-block;
position: absolute;
bottom: 8%;
}
/*create new route*/
select#id_type_transport{
display: block;

View File

@@ -230,7 +230,7 @@
/>
<label for="id_cargo_type_{{ forloop.counter }}" >
{{ item.1 }}
<span>{{ item.1 }}</span>
</label>
</div>
{% endfor %}
@@ -321,15 +321,20 @@
<div>
<input type="checkbox" name="receive_msg_by_email" class="custom-checkbox" id="id_receive_msg_by_email">
<label for="id_receive_msg_by_email">{{ form.fields.receive_msg_by_email.label }}</label>
<img id="img_msg_by_email"
<label
for="id_receive_msg_by_email">
<div class="receive_msg_by_email">{{ form.fields.receive_msg_by_email.label }}
</div>
<img id="img_msg_by_email"
title="Выберите, чтобы получать уведомление на E-mail, как только появится посылка по заданным критериям"
src="/static/img/svg/info2.svg"
alt="">
</label>
{% if not errors_off and form.errors and form.errors.receive_msg_by_email %}
<span>{{ form.errors.receive_msg_by_email }}</span>
{{ form.errors.receive_msg_by_email }}
{% endif %}
</div>
<div class="button_register">