{%- for title, elements in elements_dict.items() %}
{% for elem in elements %}{{ elem }}{% endfor %}
{%- endfor %}