all media edit and show page

This commit is contained in:
cuneytsenturk
2019-02-02 14:02:26 +03:00
parent 18e381f095
commit d4b5861120
16 changed files with 196 additions and 218 deletions

View File

@@ -21,14 +21,16 @@
{{ $file->readableSize() }}
{!! Form::open([
'id' => 'attachment-' . $file->id,
'id' => $column_name. '-' . $file->id,
'method' => 'DELETE',
'url' => [url('uploads/' . $file->id)],
'style' => 'display:inline'
]) !!}
<a id="remove-attachment" href="javascript:void();" class="btn btn-danger btn-xs pull-right">
@permission('delete-common-uploads')
<a href="javascript:void();" id="remove-{{ $column_name }}" class="btn btn-danger btn-xs pull-right mailbox-attachment-remove">
<i class="fa fa fa-times"></i>
</a>
@endpermission
{!! Form::close() !!}
<a href="{{ url('uploads/' . $file->id . '/download') }}" class="btn btn-info btn-xs pull-right mailbox-attachment-download">