{% extends 'webspace/cms/blocks/_block.html' %} {% load wagtailcore_tags %} {% block block_content %}
{% for button in value.buttons %} {% if value.align == 'center' %} {% include_block button with space='c' %} {% elif value.align == 'right' %} {% include_block button with space='l' %} {% elif value.align == 'left' %} {% include_block button with space='r' %} {% else %} {% include_block button with space='r' %} {% endif %} {% endfor %}
{% endblock %}