| 1 | {extends "idf/base-simple.html"}␊ |
| 2 | {block docclass}yui-t2{/block}␊ |
| 3 | {block body}␊ |
| 4 | <form method="post" action="{url 'IDF_Views::login'}">␊ |
| 5 | <input type="hidden" name="_redirect_after" value="{$_redirect_after}" />␊ |
| 6 | {if $error}␊ |
| 7 | <p class="px-message-error">{$error}</p>␊ |
| 8 | {/if}␊ |
| 9 | <h3>{trans 'What is your account information?'}</h3>␊ |
| 10 | <table class="form" summary="">␊ |
| 11 | <tr>␊ |
| 12 | <th class="a-r"><strong>{trans 'My login is'}</strong></th>␊ |
| 13 | <td class="a-l"><input type="text" name="login" id="id_login" value="{$login}" /></th>␊ |
| 14 | </tr>␊ |
| 15 | <tr>␊ |
| 16 | <th class="a-r"><strong>{trans 'My password is'}</strong></th>␊ |
| 17 | <td class="a-l"><input type="password" name="password" id="id_password" /></th>␊ |
| 18 | </tr>␊ |
| 19 | </table>␊ |
| 20 | ␊ |
| 21 | <p><input type="submit" value="{trans 'Sign in'}" />␊ |
| 22 | | <a href="{url 'IDF_Views::passwordRecoveryAsk'}">{trans 'I lost my password!'}</a>␊ |
| 23 | </p>␊ |
| 24 | </form>␊ |
| 25 | <script type="text/javascript">␊ |
| 26 | document.getElementById('id_login').focus()␊ |
| 27 | </script>␊ |
| 28 | {/block}␊ |
| 29 | {block context}␊ |
| 30 | <div class="issue-submit-info">␊ |
| 31 | <h3>{trans 'Welcome.'}</h3>␊ |
| 32 | {aurl 'url', 'IDF_Views::register', array()}␊ |
| 33 | <p>{blocktrans}If you don't have an account yet, you can create one <a href="{$url}">here</a>.{/blocktrans}</a></p>␊ |
| 34 | <p>{trans 'It takes less than a minute to create your account.'}</p></div>␊ |
| 35 | {/block}␊ |
| 36 | |