This repository has been archived on 2019-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
2018-03-22 14:53:56 +01:00

57 lines
2.4 KiB
Django/Jinja

{% extends 'base.jinja' %}
{% block content %}
<div class="col-12 text-left p-3 bg-light text-dark">
<h2>Sign up</h2>
<form method="post" action="{{ url('signup') }}">
{% csrf_token %}
<label for="username" class="label">Username:</label>
<p>
<input id="username" type="text" name="username" required autofocus maxlength="150" id="id_username"/>
<small style="color: grey">Erforderlich.
<ul>
<li>Nur Buchstaben,</li>
<li>Ziffern und @/./+/-/_.</li>
</ul>
</small>
</p>
<label for="email" class="label">E-Mail:</label>
<p>
<input id="email" type="email" name="email" required maxlength="254" id="id_email"/>
<small style="color: grey">Erforderlich.
<ul>
<li>Bitte beachten Sie, dass aktuell keine Stud Mail Accounts unterstützt werden können.</li>
</ul>
</small>
</p>
<label for="password1" class="label">Password:</label>
<p>
<input id="password1" type="password" name="password1" required id="id_password1"/>
<small style="color: grey">
<ul>
<li>Das Passwort darf nicht zu ähnlich zu Ihren anderen
persönlichen Informationen sein.
</li>
<li>Das Passwort muss mindestens 8 Zeichen
enthalten.
</li>
<li>Das Passwort darf nicht allgemein üblich sein.</li>
<li>Das
Passwort darf nicht komplett aus Ziffern bestehen.
</li>
</ul>
</small>
</p>
<label for="password2" class="label">Retype Password:</label>
<p>
<input id="password2" type="password" name="password2" required id="id_password2"/>
<small style="color: grey">Bitte das selbe Passwort zur Bestätigung erneut eingeben.</small>
</p>
<input type="submit" class="button is-pulled-right" value="Sign up"/>
<input type="hidden" name="next" value="{{ next }}"/>
</form>
</div>
{% endblock %}