55 lines
2.1 KiB
Twig
55 lines
2.1 KiB
Twig
<form id="register" role="form" action="{{site.uri.public}}/account/register" method="post" class="r-form">
|
|
{% include "forms/csrf.html.twig" %}
|
|
<div class="form-alerts" id="alerts-page"></div>
|
|
|
|
<div class="row">
|
|
{% block register_form %}
|
|
|
|
{% block input_register_name_email %}
|
|
{% include "forms/inputs/register-name_email.html.twig" with { 'col_width': 'col-sm-12' } %}
|
|
{% endblock %}
|
|
|
|
{% block input_register_user_name %}
|
|
{% include "forms/inputs/register-user_name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
|
{% endblock %}
|
|
|
|
{% block input_register_password %}
|
|
{% include "forms/inputs/register-password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
|
{% endblock %}
|
|
|
|
{% block input_register_locale %}
|
|
{% include "forms/inputs/register-locale.html.twig" with { 'col_width': 'col-sm-12' } %}
|
|
{% endblock %}
|
|
|
|
{% block input_register_captcha %}
|
|
{% include "forms/inputs/register-captcha.html.twig" with { 'col_width': 'col-sm-12' } %}
|
|
{% endblock %}
|
|
|
|
<div class="col-sm-12 collapse">
|
|
<label>Spiderbro: Don't change me bro, I'm tryin'a catch some flies!</label>
|
|
<input name="spiderbro" id="spiderbro" value="http://"/>
|
|
</div>
|
|
|
|
{% block tos %}
|
|
<div class="col-sm-12 text-left">
|
|
<p>
|
|
{{translate('TOS_AGREEMENT', {
|
|
'site_title' : site.title,
|
|
'link_attributes' : 'class="js-show-tos" href="#" data-toggle="modal"'
|
|
}) | raw}}
|
|
</p>
|
|
</div>
|
|
{% endblock %}
|
|
{% endblock %}
|
|
</div>
|
|
|
|
<div>
|
|
<button type="submit" class="btn btn-block btn-primary">{{translate('REGISTER_ME')}}</button>
|
|
</div>
|
|
|
|
<div style="padding-top: 10px;">
|
|
{{translate('SIGN_IN_HERE', {
|
|
'url' : site.uri.public ~'/account/sign-in'
|
|
}) | raw}}
|
|
</div>
|
|
</form> |