Delete attachments on item deletion
Delete video from videos page
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user