datatracker/ietf/templates/registration/create.html

56 lines
1.6 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load bootstrap3 %}
{% block title %}Account creation{% endblock %}
{% block content %}
{% origin %}
{% if to_email %}
<h1>Account created successfully</h1>
<p>Your account creation request has been successfully received.</p>
<p>We have sent an email to {{ to_email }} with instructions on how to complete the process.</p>
{% else %}
<div class="row">
<div class="col-md-2 col-sm-0"></div>
<div class="col-md-8 col-sm-12">
<h1>Account creation</h1>
<p>
<b>If you already have an account and want to use a new email address,</b>
please go to your account profile page and
</p>
<p>
<a class="btn btn-default" href="{% url "ietf.ietfauth.views.profile" %}"> Add a new email address</a>
</p>
<p>&nbsp;</p>
<p>
<b>If you already have an account but forgot your password,</b>
please simply
</p>
<p>
<a class="btn btn-warning" href="{% url "ietf.ietfauth.views.password_reset" %}">Reset your password</a>
</p>
<hr>
<p>Please enter your email address in order to create your datatracker account.</p>
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Create account</button>
{% endbuttons %}
</form>
</div>
<div class="col-md-2 col-sm-0"></div>
</div>
{% endif %}
{% endblock %}