Finish the move to Jinja2

This commit is contained in:
Skia
2016-02-02 11:00:08 +01:00
parent 239133e355
commit afc87888a6
19 changed files with 46 additions and 75 deletions
+20
View File
@@ -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 %}