{{-- Pass in: $model - The model instance this belongs to, e.g: ['model' => $airport] $redirect - Where to go to --}}
Name | Current File | |
{{ $file->name }} | Link to file | {{ 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() }} |