add the alert for a message
This commit is contained in:
@@ -1,7 +1,13 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block main_content %}
|
{% 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">
|
<table id="book_table" class="table table-striped table-sm" data-toolbar="#toolbar" data-search="true">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="thead-light"><th>Surname</th><th>Firstname(s)</th></tr>
|
<tr class="thead-light"><th>Surname</th><th>Firstname(s)</th></tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user