2016-07-31 19:36:13 +00:00
{% extends 'master.twig' %}
2016-07-29 19:31:36 +00:00
2016-07-31 01:32:37 +00:00
{% set title = 'Register' %}
2016-07-29 19:31:36 +00:00
{% block content %}
2016-11-09 18:32:23 +00:00
<div class="auth content content--auth">
2016-12-04 19:12:39 +00:00
{% if config ( 'user.disable_registration' ) %}
2016-12-04 14:55:53 +00:00
<div class="fa fa-remove fa-5x auth__blocked"></div>
2016-11-09 18:32:23 +00:00
<h1>Registration is disabled.</h1>
<p>Please try again later.</p>
2016-07-29 19:31:36 +00:00
{% else %}
2016-11-09 18:32:23 +00:00
<div class="content__header">
Register
2016-07-29 19:31:36 +00:00
</div>
2016-11-09 18:32:23 +00:00
<form id="registerForm" method="post" action=" {{ route ( 'auth.register' ) }} ">
<label>
<div class="auth__label">Username</div>
<input class="input__text" type="text" name="username" autofocus placeholder="Any character" {% if get .username is defined %} value=" {{ get .username }} " {% endif %} >
</label>
<label>
<div class="auth__label">E-mail</div>
<input class="input__text" type="text" name="email" placeholder="Used for e.g. password retrieval" {% if get .email is defined %} value=" {{ get .email }} " {% endif %} >
</label>
<label>
<div class="auth__label">Password</div>
<input class="input__text" type="password" name="password" placeholder="Using special characters is recommended">
</label>
<button class="input__button auth__button" name="session" value=" {{ session_id ( ) }} ">
<i class="fa fa-magic"></i> Register
</button>
<div class="auth__subtext">
By creating an account you agree to the <a href=" {{ route ( 'info.terms' ) }} ">Terms of Service</a>.<br>
2016-12-07 23:34:59 +00:00
You are only allowed to make a single account.<br>
Didn't get your activation e-mail? <a href=" {{ route ( 'auth.reactivate' ) }} ">Click here to resend it</a>!
2016-11-09 18:32:23 +00:00
</div>
</form>
2016-07-29 19:31:36 +00:00
{% endif %}
2016-11-09 18:32:23 +00:00
</div>
2016-07-29 19:31:36 +00:00
{% endblock %}