Add custom links to templates

This commit is contained in:
Jeremy Stretch
2019-04-15 21:38:04 -04:00
parent ebb384f395
commit c7a70e3821
19 changed files with 73 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
{% extends '_base.html' %}
{% load custom_links %}
{% load helpers %}
{% block header %}
@@ -43,6 +44,9 @@
</div>
<h1>{% block title %}Rack {{ rack }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=rack %}
<div class="pull-right noprint">
{% custom_links rack %}
</div>
<ul class="nav nav-tabs">
<li role="presentation"{% if not active_tab %} class="active"{% endif %}>
<a href="{{ rack.get_absolute_url }}">Rack</a>