@extends('admin.layouts.app') @section('content')
@can('users.create')
New User
@csrf
@if($errors->has('first_name'))
{{ $errors->first('first_name') }}
@endif
@if($errors->has('last_name'))
{{ $errors->first('last_name') }}
@endif
@if($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if($errors->has('phone'))
{{ $errors->first('phone') }}
@endif
@if($errors->has('password'))
{{ $errors->first('password') }}
@endif
@if($errors->has('password_confirmation'))
{{ $errors->first('password_confirmation') }}
@endif
@if($errors->has('role'))
{{ $errors->first('role') }}
@endif
Back
@endcan @endsection @push('scripts_footer') @endpush