Source

django-bootstrap-theme / bootstrap_theme / templates / bootstrap_theme / fragments / messages.html

Full commit
Kevin Veroneau 0724dd7 
Kevin Veroneau 64930f7 
Kevin Veroneau 71e4627 



Kevin Veroneau 64930f7 
Kevin Veroneau 0724dd7 

Kevin Veroneau 71e4627 


Kevin Veroneau 0724dd7 


          <div id="messages">
            {% if SYSTEM_MESSAGE %}
            <div class="alert alert-warning alert-dismissable">
              <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
              <strong>System Message:</strong> {{SYSTEM_MESSAGE}}
            </div>
            {% endif %}
            {% if messages %}
            {% for message in messages %}
            <div class="alert alert-{{message.tags}} alert-dismissable">
              <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
              {{message}}
            </div>
            {% endfor %}
            {% endif %}
          </div>