@extends('layouts.admin') @section('content')
{{ trans('global.create') }} {{ trans('cruds.user.title_singular') }}
@if(session()->has('error'))

{{ session()->get('error') }}

@endif
@csrf
@if($errors->has('name'))
{{ $errors->first('name') }}
@endif {{ trans('cruds.user.fields.name_helper') }}
@if($errors->has('email'))
{{ $errors->first('email') }}
@endif {{ trans('cruds.user.fields.email_helper') }}
@if($errors->has('password'))
{{ $errors->first('password') }}
@endif {{ trans('cruds.user.fields.password_helper') }}
@if($errors->has('mobile_number'))
{{ $errors->first('mobile_number') }}
@endif {{ trans('cruds.user.fields.mobile_number_helper') }}
@if($errors->has('branch'))
{{ $errors->first('branch') }}
@endif {{ trans('cruds.user.fields.branch_helper') }}
@if($errors->has('approved'))
{{ $errors->first('approved') }}
@endif {{ trans('cruds.user.fields.approved_helper') }}
Cancel
@endsection