{if $message = get_flash_message()}
    <div class="alert alert-lagom alert-{if $message.type == "error"}danger{elseif $message.type == 'success'}success{elseif $message.type == 'warning'}warning{else}info{/if}" role="alert">
        <div class="alert-body">
            {$message.text}
        </div>
    </div>
{/if}