@extends('apex-layouts.main') @section('content')

{{ ($model->exists)?'Edit User':'New User' }}

@if ($model->exists) @method('PUT') @endif @csrf
@if (!$model->exists)

Personal Info

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('password_confirmation')) {{ $errors->first('password') }} @endif
@endif

Other Assignment

@if ($errors->has('alphaRole'))
{{ $errors->first('alphaRole') }}
@endif