Συνημμένα
@foreach ($subject->attaches as $attach) @endforeach
Description Ενέργειες
{{$attach->description}} @can('admins') {!! Form::model($attach, ['route' => ['update.file', $attach->id], 'method'=>'PUT', 'class'=> 'form-horizontal','style'=>'display:inline-block', 'files'=> true]) !!} @component('subjects.files.components.update') @slot('attachid') {{$attach->id}} @endslot @slot('attachfilename') {{$attach->filename}} @endslot @slot('attachfile') 1 @endslot @slot('attachpath') {{ asset('/files/meetings/'.$subject->meeting->id.'/' .'subjects/'. $subject->id .'/'. $attach->filename)}} @endslot @slot('topic') {{$topic}} @endslot @endcomponent {!! Form::close() !!} @component('subjects.files.components.delete') @slot('attachid') {{$attach->id}} @endslot @slot('attachfilename') {{$attach->filename}} @endslot @slot('topic') {{$topic}} @endslot @endcomponent @endcan