diff --git a/myproject/templates/home.html b/myproject/templates/home.html index 6b4a098..6cfa088 100644 --- a/myproject/templates/home.html +++ b/myproject/templates/home.html @@ -1,21 +1,51 @@ {% extends 'base.html' %} -{% block title %}Главная страница{% endblock %} +{% block title %}Вход{% endblock %} {% block content %} -
-
-

Добро пожаловать!

-

Система аутентификации с подтверждением email

- - {% if user.is_authenticated %} -

Рады видеть вас снова, {{ user.name|default:user.email }}!

- Перейти в панель управления - {% else %} -
- Войти +
+
+
+ +
+

Добро пожаловать

+

Войдите в систему

- {% endif %} + + + {% if messages %} + {% for message in messages %} + {% if 'danger' in message.tags or 'error' in message.tags %} + + {% endif %} + {% endfor %} + {% endif %} + + +
+ {% csrf_token %} +
+ + +
+
+ + +
+ + + + + +
+
{% endblock %} \ No newline at end of file