@extends('layouts.app') @section('content')
{{ isset($manager) ? 'Modifier un manager' : 'Créer un manager' }}
@if(!isset($manager) )
Créer un nouveau manager pour la marque blanche. Un mot de passe aléatoire sera envoyé par mail qui devra être changé dès la première connexion.
@endif @include('components.alert_success') @include('components.alert_error')
{{ csrf_field() }} {{ isset($manager) ? method_field('PUT') : '' }}
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('firstname'))
{{ $errors->first('firstname') }}
@endif
@if ($errors->has('lastname'))
{{ $errors->first('lastname') }}
@endif
@if ($errors->has('phone'))
{{ $errors->first('phone') }}
@endif
@if ($errors->has('company'))
{{ $errors->first('company') }}
@endif
@endsection