[%
    title = 'Login' ;

    crumb1_name = 'Login' ;
%]

[% IF errmess == 2 %]
<p class="alert">That login is already in use, Please login with the correct address and password or register with an alternative address. Thank you.</p>
[% ELSIF errmess %]
<p class="alert">I'm sorry but that login was not recognised. Please try again, ensuring you enter the correct email address and password. Thank you.</p>
[% END %]

<form method="post" action="[% cgipath %]/pages.cgi">
  <input type="hidden" name='act' value='user-logged' />
  <input type="hidden" name='userid' value='[% data.userid %]' />

  <table width="80%">
  <tr><td>Email</td>
      <td><input type="text" name="cause" /></td>
      <td rowspan="2">
        <p>Forgot your password? Not to worry, just enter your email
           and click the 'forgot my password' button below. We will then
           send you a new password.</p>
      </td>
  </tr>
  <tr><td>Password</td>
      <td><input type="password" name="effect" /></td>
  </tr>
  <tr><td></td>
      <td><input type="submit" name="submit" value='LOGIN' /></td>
      <td><input type="submit" name="forgot" value='FORGOT MY PASSWORD' /> or
          <a href="[% cgipath %]/pages.cgi?act=user-reg"><input type="button" value="SIGN-UP" /></a></td>
  </tr>
  </table>
</form>
