@extends('layouts.backend') @section('content')

Add New User

User Form

@if (count($errors) > 0)
Whoops! There were some problems with your input.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if ($message = Session::get('success'))
{{ $message }}
@endif
@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('role')) {{ $errors->first('role') }} @endif
@endsection