We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8da81d commit f2a94c7Copy full SHA for f2a94c7
wcivf/apps/people/templates/people/person_detail.html
@@ -359,7 +359,7 @@ <h3>That's all we know! Will you help us find more about this candidate?</h3>
359
<li class="disabled"><span class="show-for-sr">Current: </span> {{ object.name }}</li>
360
</ol>
361
{% endif %}
362
-
363
-{% include "elections/includes/_ld_candidate.html" with person=object.personpost.person party=object.personpost.party %}
364
+{% if object.personpost %}
+ {% include "elections/includes/_ld_candidate.html" with person=object.personpost.person party=object.personpost.party %}
+{% endif %}
365
{% endblock breadcrumbs %}
0 commit comments