@extends('layout.app') @section('title','Create User') @push('header_script') @endpush @section('content')
{!! Form::open(['route' => ['user.store'], 'onsubmit'=>'BtnSubmit.disabled = true', 'class'=>'row g-3 needs-validation', 'method' => 'post', 'autocomplete'=>'off']) !!}
{!! Form::select('branch', [''=>'--Select--','All Branches'=>'All Branches','Multiple Branch'=>'Multiple Branch']+$branch, old('branch'), ['class'=>'form-control select2','id'=>'branch','required']) !!}
{{$errors->first('branch')}}
{!! Form::select('role', [''=>'--Select--','admin'=>'Admin','user'=>'User'], old('role'), ['class'=>'form-control','id'=>'role','required']) !!}
{{$errors->first('role')}}
{{$errors->first('name')}}
{{$errors->first('mobile_no')}}
{!! Form::select('status', [''=>'--Select--','active'=>'Active','inactive'=>'Inactive'], old('status'), ['class'=>'form-control','id'=>'status','required']) !!}
{{$errors->first('status')}}
Login Details
{{$errors->first('email')}}
{{$errors->first('password')}}
{{$errors->first('password_confirmation')}}
{!! Form::close() !!}
@endsection @push('footer_script') @endpush