Commit 73d6be8f70598de6fc2b011d26b81762b4da55e3

Authored by Felipe Henrique de Almeida Bormann
1 parent 1f1324a8

fixed edit subject breadcrumbs

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
subjects/templates/subjects/update.html
@@ -15,7 +15,9 @@ @@ -15,7 +15,9 @@
15 15
16 {% block breadcrumbs %} 16 {% block breadcrumbs %}
17 {{ block.super }} 17 {{ block.super }}
18 - {% with 'Update '|add:object.slug as bread_slug %} 18 + {% breadcrumb subject.category 'subjects:index' %}
  19 + {% breadcrumb subject 'subjects:view' subject.slug %}
  20 + {% with 'Edit '|add:object.slug as bread_slug %}
19 {% breadcrumb bread_slug 'subjects:update' %} 21 {% breadcrumb bread_slug 'subjects:update' %}
20 {% endwith %} 22 {% endwith %}
21 {% endblock %} 23 {% endblock %}