@extends('admin.master') @section('title', 'Add User') @section('body')

Add User Form

{{session('message')}}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
{{$errors->has('name') ? $errors->first('name') : ''}}
{{$errors->has('email') ? $errors->first('email') : ''}}
{{$errors->has('password') ? $errors->first('password') : ''}}
{{$errors->has('password_confirmation') ? $errors->first('password_confirmation') : ''}}
{{$errors->has('role') ? $errors->first('role') : ''}}
@endsection