mirror of
https://github.com/ae-utbm/sith.git
synced 2026-09-18 10:14:24 +00:00
Finish the move to Jinja2
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{% extends "core/base.jinja" %}
|
||||
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ title }}</h1>
|
||||
|
||||
{% if user_registered %}
|
||||
Welcome {{ user_registered.get_display_name() }}!
|
||||
You successfully registred and you will soon receive a confirmation mail.
|
||||
|
||||
Your username is {{ user_registered.username }}.
|
||||
{% endif %}
|
||||
|
||||
<form action="{{ url('core:register') }}" method="post">
|
||||
{% csrf_token %}
|
||||
{{ form }}
|
||||
<p><input type="submit" value="Register!" /></p>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user