moved bootstrap_messages on base template

This commit is contained in:
Arthur Gerbaud
2016-08-25 10:44:56 +02:00
parent 06cf6c3d35
commit 6bdde54ed2
4 changed files with 16 additions and 8 deletions

View File

@@ -3,9 +3,11 @@
<html lang="fr">
<head>
<title>{% block title %}La maraude{% endblock %}</title>
{# Load Bootstrap CSS and JavaScript #}{% bootstrap_css %}{% bootstrap_javascript %}
{# Side Navbar from http://www.samrayner.com/bootstrap-side-navbar/inverse.html #}<link href="/static/bootstrap/navbar-fixed-side.css" rel="stylesheet" />
{% if stylesheets %}{% for stylesheet in stylesheets %}<link rel="stylesheet" type="text/css" href="{% static stylesheet %}" />{% endfor %}{% endif %}
{% bootstrap_css %}{% bootstrap_javascript %}
<!-- Side Navbar from http://www.samrayner.com/bootstrap-side-navbar/inverse.html -->
<link href="/static/bootstrap/navbar-fixed-side.css" rel="stylesheet" />
{% if stylesheets %}{% for stylesheet in stylesheets %}
<link rel="stylesheet" type="text/css" href="{% static stylesheet %}" />{% endfor %}{% endif %}
</head>
<body>
<div class="container-fluid">
@@ -15,6 +17,7 @@
</div>
<div class="col-sm-8 col-md-8 col-lg-10">
<h1 class="page-header">{% block page_header %}{% endblock %}</h1>
{% bootstrap_messages %}
{% block content %}{% endblock %}
</div>
</div>