moved display message to base.html, should have done this from the beginning (doh), and then fixed deletion errors/redirections to be moe sensible
This commit is contained in:
@@ -75,7 +75,14 @@
|
||||
</div class="collapse navbar-collapse">
|
||||
</nav>
|
||||
|
||||
{% block main_content %}{% endblock main_content %}
|
||||
{% if message|length %}
|
||||
<div class="row alert alert-{{alert}}">
|
||||
{{message|safe}}
|
||||
{{ ClearStatus() }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% block main_content %}
|
||||
{% endblock main_content %}
|
||||
|
||||
<!-- code to get bootstrap & bootstrap datatable to work -->
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
||||
|
||||
Reference in New Issue
Block a user