{% set content = blockWithButtons %}{% set blockId = 'block-with-buttons-' ~ random() %}<section class="block-with-buttons" id="{{ blockId }}"><div class="content">{{ content.content|default('')|raw }}</div>{% if content.buttons is defined and content.buttons|length > 0 %}{% for button in content.buttons %}{% set button_classes = 'btn ' ~ button.style|default('') %}{% if button.isReverseColor == true %}{% set button_classes = button_classes ~ ' reverse_color' %}{% endif %}{# Ecriture du bouton #}{% if button.isInternalLink == true %}<sulu-link href="{{ button.internalLink|default('') }}" class="{{ button_classes }}">{{ button.text|default('') }}</sulu-link>{% else %}<a href="{{ button.externalLink|default('') }}" class="{{ button_classes }}" target="_blank" rel="nofollow">{{ button.text|default('') }}</a>{% endif %}{% endfor %}{% endif %}</section>