mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-07 05:30:16 +03:00
move messages into block main
This commit is contained in:
parent
422fc19c23
commit
5c32bd150f
|
@ -161,6 +161,7 @@
|
|||
</nav>
|
||||
</div>
|
||||
<div class="container">
|
||||
{% block main %}
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<div class="alert alert-dismissible {% if message.tags %}alert-{{ message.tags }}{% endif %}">
|
||||
|
@ -172,7 +173,6 @@
|
|||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% block main %}
|
||||
{% block content %}
|
||||
<p>Use this document as a way to quick start any new project.</p>
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user