@extends('layout') @section('title', 'Ajouter un membre') @section('content')

@yield('title')

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if ($entreprises->isEmpty() || $roles->isEmpty())

Pour ajouter un membre, il vous faut définir au moins un rôle et une entreprise.

@else
@csrf
@endif
@endsection