]> git.decadent.org.uk Git - memories.git/blob - templates/login_box
Remove broken test for libapache2-request-perl
[memories.git] / templates / login_box
1     [% INCLUDE header %]
2
3     <div id="login">
4     [% IF request.user %]
5         Welcome, [% request.user.name %]
6     [% ELSE %]
7
8     [% IF login_error %]
9         <div class="error"> [% login_error %] </div>
10     [% END %]
11     <form method="post" action="[% base %]/user/register">
12     <fieldset>
13     <legend>Login or register as a new user</legend>
14         <table> <tr>
15             <td class="loginfield">
16             Username:
17             </td>
18             <td>
19             <input name="name" type="text" />
20         </td>
21         </tr>
22         <tr> <td class="loginfield">
23             Password:
24         </td><td>
25             <input name="password" type="password" />
26             </td></tr></table>
27         <input type="submit" name="login" value="Login"/>
28         <input type="submit" name="login" value="Register"/>
29     </fieldset>
30     </form>
31     [% END %]
32     </div>
33
34     [% INCLUDE footer %]