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 %} {% block nav %}{% endblock %}
<nav aria-label="breadcrumb" role="navigation"> {% block breadcrumb_nav %}
<nav aria-label="breadcrumb" role="navigation">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li> <li class="breadcrumb-item"><a href="/">Home</a></li>
{% block breadcrumbs %}{% endblock %} {% block breadcrumbs %}{% endblock %}
</ol> </ol>
</nav> </nav>
{% endblock %}
{% block page %}{% endblock %} {% block page %}{% endblock %}

View File

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