add content block and breadcrumbs_empty block to allow base.html to be reused

This commit is contained in:
Jeff Johnson 2017-03-16 09:03:45 -04:00
parent fb8cbab4cf
commit 323f59091c

View File

@ -63,12 +63,15 @@
{% else %}
<li><a href="{{ breadcrumb_url }}">{{ breadcrumb_name }}</a></li>
{% endif %}
{% empty %}
{% block breadcrumbs_empty %}&nbsp;{% endblock breadcrumbs_empty %}
{% endfor %}
</ul>
{% endblock %}
<!-- Content -->
<div id="content">
{% block content %}
{% if 'GET' in allowed_methods %}
<form id="get-form" class="pull-right">
@ -252,6 +255,7 @@
</div>
{% endif %}
{% endif %}
{% endblock content %}
</div><!-- /.content -->
</div><!-- /.container -->
</div><!-- ./wrapper -->