@extends('layouts.admin') @section('title') Create User @endsection @section('page_title') Create New User @endsection @section('content') @push('page_style') @endpush @if($id == getIdFromSlug('manager')) Create New Account Manager Account Managers Create New Account Manager @elseif ($id == getIdFromSlug('accountant')) Create New Accountant Accountants Create New Accountant @else Create New Moderator Moderators Create New Moderator @endif @csrf First Name * @if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif Last Name * @if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif Email * @if ($errors->has('email')) {{ $errors->first('email') }} @endif Phone Number * @if ($errors->has('phone_number')) {{ $errors->first('phone_number') }} @elseif($errors->has('phone_code')) {{ $errors->first('phone_code') }} @elseif($errors->has('iso_code')) {{ $errors->first('iso_code') }} @endif Password * @if ($errors->has('password')) {{ $errors->first('password') }} @endif Confirm Password * @if ($errors->has('confirm_password')) {{ $errors->first('confirm_password') }} @endif @push('page_script') @endpush @endsection