summaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/login.html b/templates/login.html
index 4cc7909d..deed696b 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -1,13 +1,13 @@
-{error?<h2 style="text-align:center">{error}</h2>}
+{% if error %}<h2 style="text-align:center">{{ error }}</h2>{% endif %}
<form action="" method="post">
-{redirect?<input type="hidden" name="redirect" value="{redirect}" />}
+{% if redirect %}<input type="hidden" name="redirect" value="{{ redirect }}" />{% endif %}
<table style="margin-top:25px;">
<tr>
<th>
Username
</th>
<td>
- <input type="text" name="username" size="20" maxlength="30" value="{username}">
+ <input type="text" name="username" size="20" maxlength="30" value="{{ username }}">
</td>
</tr>
<tr>