transition to Twig

This commit is contained in:
Savetheinternet
2011-10-05 15:22:53 +11:00
parent e077166030
commit 1b136555d2
145 changed files with 11031 additions and 320 deletions

28
templates/error.html Normal file
View File

@@ -0,0 +1,28 @@
{% if error %}<h2 style="text-align:center">{{ error }}</h2>{% endif %}
<form action="" method="post">
{% 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 }}" />
</td>
</tr>
<tr>
<th>
Password
</th>
<td>
<input type="password" name="password" size="20" maxlength="30" value="" />
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" name="login" value="Continue" />
</td>
</tr>
</table>
</form>