{%- if editmode -%} {%- for i in pimcore_block('ctaHeadingBlock').iterator() -%}
Color
{{ pimcore_select("color", { "store": select_editables_store.theme_colors, "defaultValue": "body" }) }}
Thin
{{ pimcore_checkbox("thin", { "label": "Use thin weight" }) }}
{{ pimcore_input('text') }}
{%- endfor -%} {%- else -%}
<{{ heading_semantic }} class="text-{{ alignment }} {{ heading_size }} cta-heading" {% if max_width and not max_width.empty %}style="max-width:{{ max_width }}rem"{% endif %}>
{%- for i in pimcore_block('ctaHeadingBlock').iterator() -%} {{ pimcore_input('text').data }} {%- endfor -%}
{%- endif -%}