Only show photo upload button if user can upload photos to the event
This commit is contained in:
parent
fc198115e7
commit
39719c5896
1 changed files with 2 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue