mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
Formating CF data
This commit is contained in:
parent
96197207ad
commit
5ecfd89126
@ -1,16 +1,28 @@
|
|||||||
{% block form_row %}
|
{% block form_row %}
|
||||||
{% spaceless %}
|
{% spaceless %}
|
||||||
<div class="grid-4 {#{% spaceless %}
|
<div class="{% spaceless %}
|
||||||
{% if errors|length > 0 %}
|
{% if attr.class is defined and 'only-label' in attr.class %}
|
||||||
has_error danger
|
grid-12
|
||||||
{% endif %}
|
{% elseif attr.class is defined and 'no-label' in attr.class %}
|
||||||
{% endspaceless %}">#}">
|
grid-0
|
||||||
{{ form_label(form) }}
|
{% else %}
|
||||||
</div>
|
grid-4
|
||||||
<div class="grid-8">
|
{% endif %}
|
||||||
{{ form_widget(form) }}
|
{% endspaceless %}">
|
||||||
{{ form_errors(form) }}
|
{{ form_label(form) }}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="{% spaceless %}
|
||||||
|
{% if attr.class is defined and 'only-label' in attr.class %}
|
||||||
|
|
||||||
|
{% 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>
|
||||||
{% endspaceless %}
|
{% endspaceless %}
|
||||||
{% endblock form_row %}
|
{% endblock form_row %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user