mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-06-16 14:33:11 +00:00
f8a287caa0
Because reading warnings is overrated. This does not fix people using custom domains, but it's more likely they'll know what's up when their email is thrown into the void. Fixes #437.
59 lines
1.6 KiB
HTML
59 lines
1.6 KiB
HTML
{% extends "layout.html" %}
|
|
{% block title %}Register :: {{ config.SITE_NAME }}{% endblock %}
|
|
{% block metatags %}
|
|
<meta property="og:description" content="Register to {{ config.SITE_NAME }}!">
|
|
{% endblock %}
|
|
{% block body %}
|
|
{% from "_formhelpers.html" import render_field %}
|
|
|
|
<h1>Register</h1>
|
|
<p><strong>Important:</strong> Do not use Outlook (Hotmail/Live/MSN) email addresses, they discard our verification email without sending it to spam. No support is offered if you ignore this warning.</p>
|
|
<form method="POST">
|
|
{{ form.csrf_token }}
|
|
|
|
<div class="row">
|
|
<div class="form-group col-md-4">
|
|
{{ render_field(form.username, class_='form-control', placeholder='Username') }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="form-group col-md-4">
|
|
{{ render_field(form.email, class_='form-control', placeholder='Email address') }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="form-group col-md-4">
|
|
{{ render_field(form.password, class_='form-control', placeholder='Password') }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="form-group col-md-4">
|
|
{{ render_field(form.password_confirm, class_='form-control', placeholder='Password (confirm)') }}
|
|
</div>
|
|
</div>
|
|
|
|
{% if config.USE_RECAPTCHA %}
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
{% for error in form.recaptcha.errors %}
|
|
{{ error }}
|
|
{% endfor %}
|
|
{{ form.recaptcha }}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<br>
|
|
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
<input type="submit" value="Register" class="btn btn-primary">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|
|
|