You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
776 B
23 lines
776 B
<div class="grid-item"> |
|
{% for field in fields -%} |
|
{{ field.separator }} |
|
{%- if field.wrapper_element -%} |
|
<{{ field.wrapper_element }}{{ field.wrapper_attributes }}> |
|
{%- endif %} |
|
{%- if field.label -%} |
|
{%- if field.label_element -%} |
|
<{{ field.label_element }}{{ field.label_attributes }}>{{ field.label }}{{ field.label_suffix }}</{{ field.label_element }}> |
|
{%- else -%} |
|
{{ field.label }}{{ field.label_suffix }} |
|
{%- endif %} |
|
{%- endif %} |
|
{%- if field.element_type -%} |
|
<{{ field.element_type }}{{ field.element_attributes }}>{{ field.content }}</{{ field.element_type }}> |
|
{%- else -%} |
|
{{ field.content }} |
|
{%- endif %} |
|
{%- if field.wrapper_element -%} |
|
</{{ field.wrapper_element }}> |
|
{%- endif %} |
|
{%- endfor %} |
|
</div>
|
|
|