Commit aff53981 authored by Daniel W Bond's avatar Daniel W Bond

put message template in separate file

parent 84430bfe
{% if messages %}
{% for message in messages %}
<div class="row">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable text-center" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">&times;</span></button>
<strong>{{ message }}</strong>
</div>
</div>
</div>
{% endfor %}
{% endif %}
......@@ -44,18 +44,7 @@ SRCT Bookshare &bull; {{ listing.title }}
</div>
{% endif %}
{% if messages %}
{% for message in messages %}
<div class="row">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable text-center" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">&times;</span></button>
<strong>{{ message }}</strong>
</div>
</div>
</div>
{% endfor %}
{% endif %}
{% include 'messages.html' %}
{% if listing.cancelled %}
<div class="row">
......
Markdown is supported
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