2008-11-18 08:15:02 +00:00
|
|
|
{extends "idf/base-simple.html"}
|
2011-02-23 12:31:45 +00:00
|
|
|
{block docclass}yui-t2{/block}
|
2008-07-25 08:26:05 +00:00
|
|
|
{block body}
|
|
|
|
<form method="post" action="{url 'IDF_Views::login'}">
|
|
|
|
<input type="hidden" name="_redirect_after" value="{$_redirect_after}" />
|
|
|
|
{if $error}
|
2008-12-17 08:31:22 +00:00
|
|
|
<p class="px-message-error">{$error}</p>
|
2008-07-25 08:26:05 +00:00
|
|
|
{/if}
|
2011-02-23 12:31:45 +00:00
|
|
|
<h3>{trans 'What is your account information?'}</h3>
|
|
|
|
<table class="form" summary="">
|
|
|
|
<tr>
|
|
|
|
<th class="a-r"><strong>{trans 'My login is'}</strong></th>
|
|
|
|
<td class="a-l"><input type="text" name="login" id="id_login" value="{$login}" /></th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th class="a-r"><strong>{trans 'My password is'}</strong></th>
|
|
|
|
<td class="a-l"><input type="password" name="password" id="id_password" /></th>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2008-07-25 08:26:05 +00:00
|
|
|
|
|
|
|
<p><input type="submit" value="{trans 'Sign in'}" />
|
2009-01-01 20:50:16 +00:00
|
|
|
| <a href="{url 'IDF_Views::passwordRecoveryAsk'}">{trans 'I lost my password!'}</a>
|
2008-07-25 08:26:05 +00:00
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
<script type="text/javascript">
|
|
|
|
document.getElementById('id_login').focus()
|
|
|
|
</script>
|
|
|
|
{/block}
|
2011-02-23 12:31:45 +00:00
|
|
|
{block context}
|
|
|
|
<div class="issue-submit-info">
|
|
|
|
<h3>{trans 'Welcome.'}</h3>
|
|
|
|
<p>{trans 'If you don\'t have an account yet, you can create one'} <a href="{url 'IDF_Views::register', array()}">{trans 'here'}</a></p>
|
|
|
|
<p>{trans 'It takes less than a minute to create your account'}</p>
|
|
|
|
</div>
|
|
|
|
{/block}
|