@if ($message = Session::get('success'))
@endif
@if ($message = Session::get('error'))
@endif
Projet |
Nom |
Document |
Actions |
@foreach ($documents as $document)
{!! $document->projet !!} |
{{ $document->intitule }} |
|
{!! Form::open(['method' => 'DELETE', 'route'=>['document.destroy', $document->id], 'style'=> 'display:inline', 'onclick'=>"if(!confirm('Êtes-vous sûr de vouloir supprimer cet enregistrement ?')) { return false; }"]) !!}
{!! Form::close() !!}
{!! Form::model($document, ['method'=>'PATCH','route'=>['document.update', $document->id]," enctype"=>"multipart/form-data"]) !!}
@csrf
{!! Form::close() !!}
|
@endforeach
@endsection