{%- for buttons in widget.real_buttons -%} {% for button in buttons -%} {% include "widgets/wysihtml5/" + button + ".html" %} {% endfor -%} {% endfor %}