Block definitions should be at the top level, not the included level
This commit is contained in:
@@ -5,21 +5,32 @@
|
||||
<div class="row">
|
||||
{% block register_form %}
|
||||
|
||||
{% include "forms/inputs/register-name_email.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% block input_register_name_email %}
|
||||
{% include "forms/inputs/register-name_email.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% endblock %}
|
||||
|
||||
{% include "forms/inputs/register-user_name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% block input_register_user_name %}
|
||||
{% include "forms/inputs/register-user_name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% endblock %}
|
||||
|
||||
{% include "forms/inputs/register-password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% block input_register_password %}
|
||||
{% include "forms/inputs/register-password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% endblock %}
|
||||
|
||||
{% include "forms/inputs/register-locale.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% block input_register_locale %}
|
||||
{% include "forms/inputs/register-locale.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% endblock %}
|
||||
|
||||
{% include "forms/inputs/register-captcha.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% 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', {
|
||||
@@ -28,6 +39,7 @@
|
||||
}) | raw}}
|
||||
</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user