all more than one CF in one line ref #322

This commit is contained in:
Marc Ducobu 2014-11-18 14:17:36 +01:00
parent a9ee1f8344
commit 9d6168ace0

View File

@ -1,28 +1,32 @@
{% block form_row %} {% block form_row %}
{% spaceless %} {% spaceless %}
<div class="{% spaceless %} <div class="{% spaceless %}
{% if attr.class is defined and 'only-label' in attr.class %} {% if attr.class is defined and 'only-label' in attr.class %}
grid-12 grid-12
{% elseif attr.class is defined and 'no-label' in attr.class %} {% elseif attr.class is defined and 'no-label' in attr.class %}
grid-0 grid-0
{% else %} {% elseif attr.class is defined and 'multiple-cf-inline' in attr.class %}
grid-4 clear grid-2 grid-mobile-4 grid-tablet-4 mobile-clear tablet-clear
{% endif %} {% else %}
{% endspaceless %}"> grid-4 clear
{{ form_label(form) }} {% endif %}
</div> {% endspaceless %}">
<div class="{% spaceless %} {{ form_label(form) }}
{% if attr.class is defined and 'only-label' in attr.class %} </div>
grid-12 parent <div class="{% spaceless %}
{% elseif attr.class is defined and 'no-label' in attr.class %} {% if attr.class is defined and 'only-label' in attr.class %}
grid-12 grid-12 parent
{% else %} {% elseif attr.class is defined and 'no-label' in attr.class %}
grid-8 grid-12
{% endif %} {% elseif attr.class is defined and 'multiple-cf-inline' in attr.class %}
{% endspaceless %}"> grid-2 grid-mobile-8 grid-tablet-8
{{ form_widget(form) }} {% else %}
{{ form_errors(form) }} grid-8
</div> {% endif %}
{% endspaceless %}">
{{ form_widget(form) }}
{{ form_errors(form) }}
</div>
{% endspaceless %} {% endspaceless %}
{% endblock form_row %} {% endblock form_row %}