Commit 089e4fda0eced8a8f4fe6708ca68962970281bb2
1 parent
ee6577d5
Exists in
master
and in
5 other branches
Get example
Showing
1 changed file
with
3 additions
and
5 deletions
Show diff stats
courses/templates/course/update.html
| 1 | 1 | {% extends 'course/view.html' %} |
| 2 | 2 | |
| 3 | 3 | {% load static i18n %} |
| 4 | -{% load widget_tweaks %} | |
| 4 | +{% load widget_tweaks django_bootstrap_breadcrumbs %} | |
| 5 | 5 | |
| 6 | 6 | {% block breadcrumbs %} |
| 7 | - <ol class="breadcrumb"> | |
| 8 | - <li><a href="{% url 'app:index' %}">{% trans 'Home' %}</a></li> | |
| 9 | - <li class="active">{% trans 'Edit Course' %}</li> | |
| 10 | - </ol> | |
| 7 | + {{ block.super }} | |
| 8 | + {% breadcrumb 'Update' 'course:update' %} | |
| 11 | 9 | {% endblock %} |
| 12 | 10 | {% block content %} |
| 13 | 11 | ... | ... |