{if $error}
    <div class="alert alert-danger alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        {foreach name=aussen item=error_data from=$error}
            <p class="item"><i class="mdi mdi-information-outline"></i>&nbsp;&nbsp;{$error_data.info_message}</p>
        {/foreach}
    </div>
{/if}

{if $warning}
    <div class="alert alert-warning alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        {foreach name=aussen item=warning_data from=$warning}
            <p class="item"><i class="mdi mdi-bullhorn"></i>&nbsp;&nbsp;{$warning_data.info_message}</p>
        {/foreach}
    </div>
{/if}

{if $success}
    <div class="alert alert-success alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        {foreach name=aussen item=success_data from=$success}
            <p class="item"><i class="mdi mdi-check"></i>&nbsp;&nbsp;{$success_data.info_message}</p>
        {/foreach}
    </div>
{/if}

{if $info}
    <div class="alert alert-info alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
	    {foreach name=aussen item=info_data from=$info}
            <p class="item"><i class="mdi mdi-pin"></i>&nbsp;&nbsp;{$info_data.info_message}</p>
	    {/foreach}
    </div>
{/if}
