Commit 323f5909 by Jeff Johnson

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

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