mirror of
https://github.com/Balshgit/different
synced 2026-02-04 09:50:39 +03:00
added EMAIL_CONFIRM enviroment constant
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "users/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "users/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
@@ -104,9 +104,11 @@ body {
|
||||
<input type="text" class="form-control" name="username" placeholder="Username" required="required">
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="form-group">{{ form.username.errors }}</div>
|
||||
<div class="form-group">
|
||||
<input type="password" class="form-control" name="password" placeholder="Password" required="required">
|
||||
</div>
|
||||
<div class="form-group">{{ form.password.errors }}</div>
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary btn-lg">Login</button>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
<body>
|
||||
<div>
|
||||
<p style="color: green">Добро пожаловать, {{username}}!</p>
|
||||
{% if text_content %}
|
||||
<p style="color: green">Чтобы активировать учётную запись перейдите по ссылке:
|
||||
<a href="{{text_content}}">Завершить регистрацию</a></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "users/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "users/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user