🐛 Fix shares not being locally created and deleted

This commit is contained in:
2020-11-01 15:36:13 +01:00
parent e5a996452d
commit a8b2db986a
3 changed files with 25 additions and 7 deletions

View File

@@ -28,6 +28,7 @@
<div id="share-{{$share.UUID}}" class="share">
UUID: {{ $share.UUID }} {{ if $share.IsAdmin }}
<form style="display: inline-block;" action="delete-share" method="post">
<input type="hidden" name="source" value="my-shares"/>
<input type="hidden" name="share" value="{{ $share.UUID }}"/>
<input type="submit" value="Delete" class="delete"/>
</form>{{ end }}