add the alert for a message

This commit is contained in:
2020-12-05 19:24:33 +11:00
parent 7960c1c84a
commit a1679dac74

View File

@@ -1,7 +1,13 @@
{% extends "base.html" %}
{% block main_content %}
<h3>Authors</h3>
<h3>Show All Authors</h3>
{% if message|length %}
<div class="row alert alert-{{alert}}">
{{message}}
{{ ClearStatus() }}
</div>
{% endif %}
<table id="book_table" class="table table-striped table-sm" data-toolbar="#toolbar" data-search="true">
<thead>
<tr class="thead-light"><th>Surname</th><th>Firstname(s)</th></tr>