{{-- Pass in: $model - The model instance this belongs to, e.g: ['model' => $airport] $redirect - Where to go to --}}
Name | Direct Link | Downloads | |
{{ $file->name }} | Link to file | {{$file->download_count}} | {{ Form::open(['route' => ['admin.files.delete', $file->id], 'method' => 'delete']) }} {{ Form::hidden('id', $file->id) }} {{ Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) }} {{ Form::close() }} |