| <span class="helptext">{$form.f.email.help_text}</span>␊ |
| </td>␊ |
| </tr>␊ |
| <tr id="theterms">␊ |
| <td> </td>␊ |
| <td><div class="theterms">{$terms}</div></td>␊ |
| </tr>␊ |
| <tr>␊ |
| <td> </td>␊ |
| <td>␊ |
| {if $form.f.terms.errors}{$form.f.terms.fieldErrors}{/if}␊ |
| {$form.f.terms|unsafe} <strong>{$form.f.terms.labelTag}</strong><br />␊ |
| <span class="helptext">{blocktrans}Read the <a href="#">terms and conditions</a> – basically <em>"Please be nice, we respect you"</em>.{/blocktrans}</span>␊ |
| <span class="helptext">{blocktrans}Read the <a id="showterms" href="#theterms">terms and conditions</a> – basically <em>"Please be nice, we respect you"</em>.{/blocktrans}</span>␊ |
| </td>␊ |
| </tr>␊ |
| <tr>␊ |
|
| </div>␊ |
| {/block}␊ |
| {block javascript}<script type="text/javascript">␊ |
| document.getElementById('id_login').focus()␊ |
| document.getElementById('id_login').focus();␊ |
| {literal}␊ |
| $(document).ready(function() {␊ |
| // Hide the key password by default.␊ |
| $("#theterms").hide();␊ |
| $("#showterms").click(function(){␊ |
| $("#theterms").show();␊ |
| });␊ |
| });{/literal}␊ |
| </script>␊ |
| {/block}␊ |
| ␊ |