diff --git a/RIGS/templates/partials/crew_list.html b/RIGS/templates/partials/crew_list.html index 3d028d87..034a7651 100644 --- a/RIGS/templates/partials/crew_list.html +++ b/RIGS/templates/partials/crew_list.html @@ -31,9 +31,11 @@ {% endif %} - {% if crew.end_time %}{% if crew.person.pk == request.user.pk or event.mic.pk == - request.user.pk %}{% button 'edit' 'edit_checkin' crew.pk clazz='btn-sm modal-href' %}{% - endif %}{% endif %} + {% if crew.end_time %} + {% if crew.person.pk == request.user.pk or event.mic.pk == request.user.pk %} + {% button 'edit' 'edit_checkin' crew.pk clazz='btn-sm modal-href' %} + {% endif %} + {% endif %} {% empty %}