From a970f06dc82230e6503726493bf4ca293b382197 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Tue, 15 Aug 2023 15:50:49 +0300 Subject: [PATCH] 0.0.95 --- static/css/styles.css | 9 +++++++++ templates/blocks/profile/b_new_route.html | 13 +++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index 9725e5d..19eca8e 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -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; diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index a9df2e1..54d3959 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -230,7 +230,7 @@ /> {% endfor %} @@ -321,15 +321,20 @@
- - +
{{ form.fields.receive_msg_by_email.label }} +
+ + + {% if not errors_off and form.errors and form.errors.receive_msg_by_email %} - {{ form.errors.receive_msg_by_email }} + {{ form.errors.receive_msg_by_email }} {% endif %}