@include('flash::message')
@shield('lawsProjects.upload')
{!! Form::open(['route' => ['lawsProjects.attachament.upload', $lawsProject->id], 'method' => 'post', 'files' => 'true']) !!}
{!! Form::file('file[]', array('multiple'=>true, 'class' => 'file')) !!}
{!! Form::close() !!}
@endshield
Anexos:
@if($law_files->isEmpty())
Sem dados. Insira um novo registro.
@else
@foreach($law_files as $file)
{{ $file->filename }} |
Download
@shield('lawsProjects.upload')
{{--@if(Auth::user()->id == $file->owner->id)--}}
Excluir
{{--@endif--}}
@endshield
|
@endforeach
@endif