rename templates from .tera to .html.tera to enable auto-escaping of html

This commit is contained in:
Trinity Pointard
2018-06-07 08:52:43 +02:00
committed by Your Name
parent d8bd9dbfca
commit daf4de07be
17 changed files with 0 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{% extends "base" %}
{% block title %}
Login
{% endblock title %}
{% block content %}
<h1>Login</h1>
{% if message %}
<p>{{ message | escape }}</p>
{% endif %}
<form method="post">
<label for="email_or_name">Username or email</label>
<input name="email_or_name">
<label for="password">Password</label>
<input type="password" name="password">
<input type="submit" value="Login"/>
</form>
{% endblock content %}