##// END OF EJS Templates
i18n: updated translation for Polish...
i18n: updated translation for Polish Currently translated at 56.5% (614 of 1087 strings)

File last commit:

r7170:44f7f73d default
r8092:7fef5132 default
Show More
register.html
102 lines | 3.5 KiB | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
<%block name="title">
${_('Sign Up')}
</%block>
<%block name="js_extra">
%if c.captcha_active:
<script type="text/javascript" src="https://www.google.com/recaptcha/api.js"></script>
%endif
</%block>
<%include file="/base/flash_msg.html"/>
<div class="container">
<div class="row">
<div class="centered-column">
<div id="register" class="panel panel-primary">
<div class="panel-heading">
%if c.site_name:
<h5>${_('Sign Up to %s') % c.site_name}</h5>
%else:
<h5>${_('Sign Up')}</h5>
%endif
</div>
<div class="panel-body">
${h.form(url('register'))}
<div class="form">
<div class="form-group">
<label class="control-label" for="username">${_('Username')}:</label>
<div>
${h.text('username',class_='form-control')}
</div>
</div>
<div class="form-group">
<label class="control-label" for="password">${_('Password')}:</label>
<div>
${h.password('password',class_='form-control')}
</div>
</div>
<div class="form-group">
<label class="control-label" for="password_confirmation">${_('Re-enter password')}:</label>
<div>
${h.password('password_confirmation',class_='form-control')}
</div>
</div>
<div class="form-group">
<label class="control-label" for="firstname">${_('First Name')}:</label>
<div>
${h.text('firstname',class_='form-control')}
</div>
</div>
<div class="form-group">
<label class="control-label" for="lastname">${_('Last Name')}:</label>
<div>
${h.text('lastname',class_='form-control')}
</div>
</div>
<div class="form-group">
<label class="control-label" for="email">${_('Email')}:</label>
<div>
${h.text('email',class_='form-control')}
</div>
</div>
%if c.captcha_active:
<div class="form-group">
<label class="control-label" for="recaptcha_field">${_('Captcha')}:</label>
<div>
<div id="recaptcha_field" class="g-recaptcha" data-sitekey="${c.captcha_public_key}"></div>
</div>
</div>
%endif
<div class="form-group">
<div class="buttons">
${h.submit('sign_up',_('Sign Up'),class_="btn btn-default")}
%if c.auto_active:
<div class="alert alert-info">${_('Registered accounts are ready to use and need no further action.')}</div>
%else:
<div class="alert alert-info">${_('Please wait for an administrator to activate your account.')}</div>
%endif
</div>
</div>
</div>
${h.end_form()}
<script type="text/javascript">
$(document).ready(function(){
$('#username').focus();
});
</script>
</div>
</div>
</div>
</div>
</div>