1
0
Fork 0

Delete attachments on item deletion

Delete video from videos page
This commit is contained in:
fabrixxm 2015-05-23 22:35:02 +02:00
commit 83697cf3e5
3 changed files with 101 additions and 14 deletions

View file

@ -9,5 +9,11 @@
</video>
{{*<div class="video-top-album-name"><a href="{{$video.album.link}}" class="video-top-album-link" title="{{$video.album.alt}}" >{{$video.album.name}}</a></div>*}}
{{if $delete_url }}
<form method="post" action="{{$delete_url}}">
<input type="submit" name="delete" value="X"></input>
<input type="hidden" name="id" value="{{$video.id}}"></input>
</form>
{{/if}}
</div>