forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfirm_account.html
More file actions
34 lines (34 loc) · 1.27 KB
/
Copy pathconfirm_account.html
File metadata and controls
34 lines (34 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{% 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 %}