35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
{# bs5ok #}
|
|
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% load static %}
|
|
{% load django_bootstrap5 textfilters %}
|
|
{% block title %}Complete account creation{% endblock %}
|
|
{% block js %}
|
|
{{ block.super }}
|
|
<script src="{% static 'ietf/js/zxcvbn.js' %}"></script>
|
|
<script src="{% static 'ietf/js/password_strength.js' %}"></script>
|
|
{% endblock %}
|
|
{% block content %}
|
|
{% origin %}
|
|
{% if success %}
|
|
<h1>Account creation successful</h1>
|
|
<p class="alert alert-success my-3">
|
|
Your account with login {{ email|linkify }} has been created, using the password you have selected.
|
|
</p>
|
|
<a type="a"
|
|
class="btn btn-primary"
|
|
href="{% url "ietf.ietfauth.views.login" %}"
|
|
rel="nofollow">Sign in</a>
|
|
{% else %}
|
|
<h1>Complete account creation</h1>
|
|
<p class="alert alert-info my-3">
|
|
In order to complete the setup of your account with login {{ email|linkify }}, please provide the following information:
|
|
</p>
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
<button type="submit" class="btn btn-primary">Set name and password</button>
|
|
</form>
|
|
{% endif %}
|
|
{% endblock %} |