mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-20 05:03:23 +00:00
21 lines
695 B
Django/Jinja
21 lines
695 B
Django/Jinja
{% extends "core/base.jinja" %}
|
|
|
|
{% block title %}{% trans %}Register a user{% endtrans %}{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>{% trans %}Register a user{% endtrans %}</h1>
|
|
|
|
{% if user_registered %}
|
|
{% trans user_name=user_registered.get_display_name() %}Welcome {{ user_name }}!{% endtrans %}
|
|
{% trans %}You successfully registred and you will soon receive a confirmation mail.{% endtrans %}
|
|
|
|
{% trans username=user_registered.username %}Your username is {{ username }}.{% endtrans %}
|
|
{% endif %}
|
|
|
|
<form action="{{ url('core:register') }}" method="post">
|
|
{% csrf_token %}
|
|
{{ form }}
|
|
<p><input type="submit" value="{% trans %}Register{% endtrans %}" /></p>
|
|
</form>
|
|
{% endblock %}
|