summaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-10-05 15:22:53 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-10-05 15:22:53 +1100
commit1b136555d279bf2cfb28f5661225c010426754f5 (patch)
tree01a4dd290f3f8010dc7ed6f0c4e58032a6aef2b6 /templates/login.html
parente077166030a8609bc0c364fdbf8fc3f99c595d32 (diff)
transition to Twig
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>