2008-11-18 09:15:02 +01:00
{extends "idf/base-simple.html"}
2008-07-29 22:33:13 +02:00
{block body}
{if $form.errors}
< div class = "px-message-error" >
< p > {trans 'Oups, please check the provided login and email address to register.'}< / p >
{if $form.get_top_errors}
{$form.render_top_errors|unsafe}
{/if}
< / div >
{/if}
< form method = "post" action = "." >
< table class = "form" summary = "" >
< tr >
< th > < strong > {$form.f.login.labelTag}:< / strong > < / th >
< td > {if $form.f.login.errors}{$form.f.login.fieldErrors}{/if}
{$form.f.login|unsafe}< br / >
< span class = "helptext" > {$form.f.login.help_text}< / span >
< / td >
< / tr >
< tr >
< th > < strong > {$form.f.email.labelTag}:< / strong > < / th >
< td > {if $form.f.email.errors}{$form.f.email.fieldErrors}{/if}
{$form.f.email|unsafe}< br / >
< span class = "helptext" > {$form.f.email.help_text}< / span >
< / td >
< / tr >
2008-12-07 14:56:06 +01:00
< tr id = "theterms" >
< td > < / td >
< td > < div class = "theterms" > {$terms}< / div > < / td >
< / tr >
2008-07-29 22:33:13 +02:00
< 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 / >
2008-12-07 14:56:06 +01:00
< 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 >
2008-07-29 22:33:13 +02:00
< / td >
< / tr >
< tr >
< td > < / td >
< td > < input type = "submit" value = "{trans 'Create Your Account'}" name = "submit" / > | < a href = "{url 'IDF_Views::index'}" > {trans 'Cancel'}< / a >
< / td >
< / tr >
< / table >
< / form >
{/block}
{block context}
< div class = "issue-submit-info" >
< p > {trans 'Be sure to provide a valid email address, as we are sending a validation link by email.'}< / p >
< p > < strong > {trans 'Did you know?'}< / strong > < br / >
{aurl 'url', 'IDF_Views::faq'}
2009-01-01 21:50:16 +01:00
{blocktrans}With your account, you will able to participate in the life of all the projects hosted here. Participating in a software project must be fun, so if you have troubles, you can < a href = "{$url}" > let us know about your issues at anytime< / a > !{/blocktrans}< / p >
2008-07-29 22:33:13 +02:00
< / div >
2008-07-31 22:50:21 +02:00
{/block}
{block javascript}< script type = "text/javascript" >
2008-12-07 14:56:06 +01:00
document.getElementById('id_login').focus();
{literal}
$(document).ready(function() {
// Hide the key password by default.
$("#theterms").hide();
$("#showterms").click(function(){
$("#theterms").show();
});
});{/literal}
2008-07-29 22:33:13 +02:00
< / script >
2008-11-18 09:15:02 +01:00
{/block}
2008-07-29 22:33:13 +02:00