(reusing code previously written for the community lists) instead of the a custom MD5 scheme, add tests of all views, rewrite custom form handling code to use plain forms and ensure that the data is properly validated and errors visible in the UI. Move help texts on the Person form up to the model. - Legacy-Id: 11136
32 lines
886 B
HTML
32 lines
886 B
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
|
|
{% load bootstrap3 %}
|
|
|
|
{% block title %}Complete account creation{% endblock %}
|
|
|
|
{% block content %}
|
|
{% origin %}
|
|
|
|
{% if success %}
|
|
<h1>Account creation successful</h1>
|
|
|
|
<p>Your account with login {{ email }} has been created, using the password you have selected.</p>
|
|
<a type="a" class="btn btn-primary" href="{% url "account_login" %}" rel="nofollow">Sign in</a>
|
|
|
|
{% else %}
|
|
<h1>Complete account creation</h1>
|
|
|
|
<p>In order to complete the setup of your account with login {{ email }}, please choose a password:</p>
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
|
|
{% buttons %}
|
|
<button type="submit" class="btn btn-primary">Set password</button>
|
|
{% endbuttons %}
|
|
</form>
|
|
{% endif %}
|
|
{% endblock %}
|