2016-02-01 16:35:55 +00:00
|
|
|
{% extends "core/base.jinja" %}
|
2015-11-18 16:09:06 +00:00
|
|
|
|
2016-07-19 17:03:16 +00:00
|
|
|
{% block title %}{% trans %}Register a user{% endtrans %}{% endblock %}
|
2015-11-18 16:09:06 +00:00
|
|
|
|
|
|
|
{% block content %}
|
2016-07-19 17:03:16 +00:00
|
|
|
<h1>{% trans %}Register a user{% endtrans %}</h1>
|
2015-11-18 16:09:06 +00:00
|
|
|
|
2015-11-19 10:23:08 +00:00
|
|
|
{% if user_registered %}
|
2016-07-19 17:03:16 +00:00
|
|
|
{% 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 %}
|
2015-11-19 10:23:08 +00:00
|
|
|
|
2016-07-19 17:03:16 +00:00
|
|
|
{% trans username=user_registered.username %}Your username is {{ username }}.{% endtrans %}
|
2015-11-19 10:23:08 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2016-02-02 10:00:08 +00:00
|
|
|
<form action="{{ url('core:register') }}" method="post">
|
2015-11-18 16:09:06 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
{{ form }}
|
2016-07-19 17:03:16 +00:00
|
|
|
<p><input type="submit" value="{% trans %}Register{% endtrans %}" /></p>
|
2015-11-18 16:09:06 +00:00
|
|
|
</form>
|
|
|
|
{% endblock %}
|