{% load static %}
<style>
    .bg_succes{
        background-color: green ;
        color: antiquewhite;
        font-size: 20px;
    }
    .bg_error{
        background-color: red ;
        color: antiquewhite;
        font-size: 20px;
    }
    .bg_info{
        background-color: #57A2DF ;
        color: #fff;
        font-size: 20px;
    }
</style>
{% if messages %}
    {% for message in messages %}

    <div class="alert {{ message.tags }} " role="alert" id="success-alert" style="margin-top:15px;">
        <center> <span>{{ message }}</span></center>
    </div>

    {% endfor %}
{% endif %}