Merge branch 'feature/registration_failed/html' into 'develop'
Feature/registration failed/html See merge request 2020-2021/online/s101/group-02/access_controller!84
This commit is contained in:
12
main/templates/pages/registration_failed.html
Normal file
12
main/templates/pages/registration_failed.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends 'base/base.html' %}
|
||||
|
||||
{% block title %}
|
||||
Регистрация закрыта
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div style="margin: 10%; text-align: center;">
|
||||
<p style="color: rgb(201, 58, 63); font-size: 72px;">К сожалению, регистрация закрыта.</p>
|
||||
<a type="button" class="btn btn-outline-primary btn-lg" href="/">На главную</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -370,3 +370,6 @@ def statistic_page(request: WSGIRequest) -> HttpResponse:
|
||||
form = StatisticForm()
|
||||
context['form'] = form
|
||||
return render(request, 'pages/statistic.html', context)
|
||||
|
||||
def registration_failed(request):
|
||||
return render(request, 'pages/registration_failed.html')
|
||||
|
||||
Reference in New Issue
Block a user