rename templates from .tera to .html.tera to enable auto-escaping of html
This commit is contained in:
committed by
Your Name
parent
d8bd9dbfca
commit
daf4de07be
@@ -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 %}
|
||||
Reference in New Issue
Block a user