Commit af7e8c8b authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

allows to override message block css classes

parent 39278981
Pipeline #48358 passed with stage
in 31 seconds
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
</div> </div>
{% endblock %} {% endblock %}
{% if messages %} {% if messages %}
<div class="pb-2 mb-2 col-12"> <div class="{% block messages_css_classes %}pb-2 mb-2 col-12{% endblock %}">
<div class="border-bottom"> <div class="border-bottom">
{% for message in messages %} {% for message in messages %}
<p class="alert alert-{{ message.tags|tags_to_bootstrap }}"> <p class="alert alert-{{ message.tags|tags_to_bootstrap }}">
......
...@@ -7,7 +7,7 @@ readme = open('README.rst').read() ...@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup( setup(
name='django-basetheme-bootstrap', name='django-basetheme-bootstrap',
version='0.2.55', version='0.2.56',
description='Django Basetheme Bootstrap', description='Django Basetheme Bootstrap',
long_description=readme, long_description=readme,
author='Bryan Brancotte', author='Bryan Brancotte',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment