@extends('layouts.master') @section('title') {{isset($user) ? 'Edit user': 'Add user'}} @endsection @section('page-header') @endsection @section('content')
@csrf
@if ($errors->has('name'))

{{$errors->first('name')}}

@endif
@if ($errors->has('role'))

{{$errors->first('role')}}

@endif
@if ($errors->has('email'))

{{$errors->first('email')}}

@endif
@if ($errors->has('password'))

{{$errors->first('password')}}

@endif
@endsection