34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
{% 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 }}
|
|
{{ form.media.js }}
|
|
{% 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
|
|
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 %}
|
|
<!-- [html-validate-disable-block no-inline-style, prefer-native-element -- FIXME: django_password_strength uses outdated HTML] -->
|
|
{% bootstrap_form form %}
|
|
<button type="submit" class="btn btn-primary">Set name and password</button>
|
|
</form>
|
|
{% endif %}
|
|
{% endblock %} |