36 lines
1.6 KiB
HTML
36 lines
1.6 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block title %}Установка пароля{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="form-container">
|
|
<h2 class="text-center mb-4">Установка пароля</h2>
|
|
|
|
<!-- Приветственное сообщение -->
|
|
<div class="alert alert-info">
|
|
<strong>Добро пожаловать!</strong> Ваш магазин <strong>{{ tenant.name }}</strong> активирован.
|
|
<br>Установите пароль для входа в систему.
|
|
</div>
|
|
|
|
<div class="tab-content">
|
|
<div class="tab-pane fade show active" id="setup-password">
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{% include 'accounts/password_input.html' with field_name='password1' field_label='Пароль' required=True %}
|
|
{% include 'accounts/password_input.html' with field_name='password2' field_label='Подтверждение пароля' required=True %}
|
|
<button type="submit" class="btn btn-primary w-100">Установить пароль и войти</button>
|
|
</form>
|
|
|
|
<!-- Информация -->
|
|
<div class="text-center mt-3">
|
|
<small class="text-muted">
|
|
После установки пароля вы автоматически войдете в свой магазин.
|
|
</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|