mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
all more than one CF in one line ref #322
This commit is contained in:
parent
a9ee1f8344
commit
9d6168ace0
@ -1,28 +1,32 @@
|
||||
{% block form_row %}
|
||||
{% spaceless %}
|
||||
<div class="{% spaceless %}
|
||||
{% if attr.class is defined and 'only-label' in attr.class %}
|
||||
grid-12
|
||||
{% elseif attr.class is defined and 'no-label' in attr.class %}
|
||||
grid-0
|
||||
{% else %}
|
||||
grid-4 clear
|
||||
{% endif %}
|
||||
{% endspaceless %}">
|
||||
{{ form_label(form) }}
|
||||
</div>
|
||||
<div class="{% spaceless %}
|
||||
{% if attr.class is defined and 'only-label' in attr.class %}
|
||||
grid-12 parent
|
||||
{% elseif attr.class is defined and 'no-label' in attr.class %}
|
||||
grid-12
|
||||
{% else %}
|
||||
grid-8
|
||||
{% endif %}
|
||||
{% endspaceless %}">
|
||||
{{ form_widget(form) }}
|
||||
{{ form_errors(form) }}
|
||||
</div>
|
||||
<div class="{% spaceless %}
|
||||
{% if attr.class is defined and 'only-label' in attr.class %}
|
||||
grid-12
|
||||
{% elseif attr.class is defined and 'no-label' in attr.class %}
|
||||
grid-0
|
||||
{% elseif attr.class is defined and 'multiple-cf-inline' in attr.class %}
|
||||
grid-2 grid-mobile-4 grid-tablet-4 mobile-clear tablet-clear
|
||||
{% else %}
|
||||
grid-4 clear
|
||||
{% endif %}
|
||||
{% endspaceless %}">
|
||||
{{ form_label(form) }}
|
||||
</div>
|
||||
<div class="{% spaceless %}
|
||||
{% if attr.class is defined and 'only-label' in attr.class %}
|
||||
grid-12 parent
|
||||
{% elseif attr.class is defined and 'no-label' in attr.class %}
|
||||
grid-12
|
||||
{% elseif attr.class is defined and 'multiple-cf-inline' in attr.class %}
|
||||
grid-2 grid-mobile-8 grid-tablet-8
|
||||
{% else %}
|
||||
grid-8
|
||||
{% endif %}
|
||||
{% endspaceless %}">
|
||||
{{ form_widget(form) }}
|
||||
{{ form_errors(form) }}
|
||||
</div>
|
||||
{% endspaceless %}
|
||||
{% endblock form_row %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user