{% if extra_buttons_mode == "dropdown" %} {% else %} {% for button in extra_buttons %}{{ button.text }}{% endfor %} {% endif %}