{% set currentRequestFlashMessages = utils_get_from_runtime_cache('currentRequestFlashMessages') ?: [] %}
{% set allFlashMessages = flashMessages | merge(currentRequestFlashMessages) %}

<div class="container">
	{% for type, messages in allFlashMessages %}
		{% for message in messages %}
		<div class="row">
			<div class="col-12">
				<div class="flash-message flash-message--{{ type }}" data-hide="">
					<button type="button" class="flash-message__close" data-dismiss="alert" aria-hidden="true">&times;</button>
					{{ message|raw }}
				</div>
			</div>
		</div>
		{% endfor %}
	{% endfor %}
</div>