diff --git a/apps/user/templates/user/become-author.html b/apps/user/templates/user/become-author.html index 383b81ab..92e7c054 100644 --- a/apps/user/templates/user/become-author.html +++ b/apps/user/templates/user/become-author.html @@ -1,12 +1,5 @@ -{% extends "templates/lilcity/index.html" %} {% load static %} {% block content %} {% if messages %} -
-
- {% for message in messages %} -
{{ message }}
- {% endfor %} -
-
-{% endif %} +{% extends "templates/lilcity/index.html" %} {% load static %} {% block content %} +{% include 'templates/blocks/messages.html' %}
{% csrf_token %} @@ -16,48 +9,48 @@
ИМЯ
- +
- {% if form.first_name.errors %} -
Укажите корректно свои данные
- {% endif %} + {% for error in form.first_name.errors %} +
{{ error }}
+ {% endfor %}
ФАМИЛИЯ
- +
- {% if form.last_name.errors %} -
Укажите корректно свои данные
- {% endif %} + {% for error in form.last_name.errors %} +
{{ error }}
+ {% endfor %}
Почта
- +
- {% if form.email.errors %} -
Укажите корректно свои данные
- {% endif %} + {% for error in form.email.errors %} +
{{ error }}
+ {% endfor %}
О себе
- {% if form.about.errors %} -
Укажите корректно свои данные
- {% endif %} + {% for error in form.about.errors %} +
{{ error }}
+ {% endfor %}
FACEBOOK
- {% if form.facebook.errors %} -
Укажите корректно свои данные
- {% endif %} + {% for error in form.facebook.errors %} +
{{ error }}
+ {% endfor %}