Register form tweaked
This commit is contained in:
43
templates/forms/register.html.twig
Normal file
43
templates/forms/register.html.twig
Normal file
@@ -0,0 +1,43 @@
|
||||
<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 %}
|
||||
|
||||
{% include "forms/inputs/register-name_email.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
|
||||
{% include "forms/inputs/register-user_name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
|
||||
{% include "forms/inputs/register-password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
|
||||
{% include "forms/inputs/register-locale.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
|
||||
{% include "forms/inputs/register-captcha.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
|
||||
<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>
|
||||
|
||||
<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 %}
|
||||
</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>
|
||||
Reference in New Issue
Block a user