Code cleanup

This commit is contained in:
Jeremy Stretch
2016-05-18 15:17:58 -04:00
parent d0fb95d31e
commit 4de5f992be
6 changed files with 33 additions and 28 deletions

View File

@@ -5,7 +5,9 @@ from .models import Circuit, CircuitType, Provider
CIRCUITTYPE_EDIT_LINK = """
{% if perms.circuit.change_circuittype %}<a href="{% url 'circuits:circuittype_edit' slug=record.slug %}">Edit</a>{% endif %}
{% if perms.circuit.change_circuittype %}
<a href="{% url 'circuits:circuittype_edit' slug=record.slug %}">Edit</a>
{% endif %}
"""