@@ -15,7 +15,7 @@
<div>
<div class="flex items-center">
<h2 class="f2 lh-title ttu mt0">{{ candidate.name }}</h2>
<a href="{% url 'admin:usethesource_candidate_change' object_id=candidate.id %}" title="Edit candidate" class="f3 white bg-light-silver db ph2 mh2 mb3" style="transform: scaleX(-1); text-decoration: none !important">✎</a>
{% if user.is_staff or user.is_superuser %}<a href="{% url 'admin:usethesource_candidate_change' object_id=candidate.id %}" title="Edit candidate" class="f3 white bg-light-silver db ph2 mh2 mb3" style="transform: scaleX(-1); text-decoration: none !important">✎</a>{% endif %}
</div>
<p><strong>Vendor</strong>: {{ candidate.vendor }}</p>
@@ -37,7 +37,7 @@
{% endfor %}
{% endwith %}
{% if user.is_staff %}
{% if user.is_staff or user.is_superuser %}
{% include "usethesource/add_comment_button_partial.html" %}
{% endif %}
</section>