Only show photo upload button if user can upload photos to the event

This commit is contained in:
Michael Hall 2018-03-17 17:41:15 -04:00
parent fc198115e7
commit 39719c5896

View file

@ -86,9 +86,11 @@
</div>
{% endfor %}
</div>
{% if can_edit_event %}
<div class="row">
<div class="col"><a class="btn btn-primary" href="{% url 'add-event-photo' event.id %}">Upload</a></div>
</div>
{% endif %}
</div>
</div>