@extends('cms.layouts.main') @section('content') @include('cms.layouts.headers.partials', ['title' => 'Edit Record'])

{{ $page_info['title'] }}

@include('cms.components.alert', ['with' => 'status', 'class' => 'success'])
@csrf @method('put') {{-- First Name --}} @include('cms.components.inputs.text', ['label' => 'First Name', 'asterix' => true, 'name' => 'first_name', 'maxlength' => 255]) {{-- Last Name --}} @include('cms.components.inputs.text', ['label' => 'Last Name', 'asterix' => true, 'name' => 'last_name', 'maxlength' => 255]) {{-- Email --}} @include('cms.components.inputs.text', ['label' => 'Email', 'type' => 'email', 'asterix' => true, 'name' => 'email', 'maxlength' => 255]) {{-- Password --}} @include('cms.components.inputs.text', ['label' => 'Password', 'type' => 'password', 'name' => 'password']) {{-- Confirm Password --}} @include('cms.components.inputs.text', ['label' => 'Confirm Password', 'type' => 'password', 'name' => 'confirm_password']) {{-- Role --}}
@if($errors->has('roles')) {{ $errors->first('roles') }} @endif
@include('cms.layouts.footers.auth')
@endsection