Exclude breadcrumb nav from registration pages.

This commit is contained in:
Christopher Charbonneau Wells 2017-10-21 01:24:13 -04:00
parent 5f3cadd38b
commit 76adaa727c
2 changed files with 10 additions and 6 deletions

View File

@ -19,12 +19,14 @@
{% block nav %}{% endblock %}
<nav aria-label="breadcrumb" role="navigation">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li>
{% block breadcrumbs %}{% endblock %}
</ol>
</nav>
{% block breadcrumb_nav %}
<nav aria-label="breadcrumb" role="navigation">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li>
{% block breadcrumbs %}{% endblock %}
</ol>
</nav>
{% endblock %}
{% block page %}{% endblock %}

View File

@ -1,6 +1,8 @@
{% extends "babyblotter/base.html" %}
{% load static widget_tweaks %}
{% block breadcrumb_nav %}{% endblock %}
{% block page %}
<div id="view-{{ request.resolver_match.view_name }}" class="container">
<div class="text-center mb-4">