@extends('layout.structure') @section('title-tab') Modifica utente @endsection @section('title-page') Modifica utente @endsection @section('head') @parent @endsection @section('content')
@csrf @method('PATCH') @component('components.form.user',['user'=>$user]) @endcomponent @foreach(Auth::user()->ecps as $rel)
ecps->pluck('ecp_id')->contains($rel->ecp->id) ? 'checked' : ''}}>
@endforeach @error('ecp')
{{ $message }}
@enderror
@endsection @section('footer') @parent @endsection