@extends('layouts.app') {{-- Use your main layout file --}} @section('title', 'Create New User') @section('content') {{-- Back Navigation & Title --}}
{{-- Link back to the users index page --}} ← Back to Users List

Create New User

{{-- Form Container --}}
{{-- Form points to users.store route, using POST method --}}
@csrf {{-- CSRF Protection --}} {{-- Name Field --}}
@error('name')

{{ $message }}

@enderror
{{-- Email Field --}}
@error('email')

{{ $message }}

@enderror
{{-- Password Section --}}
{{-- Password Field --}}
@error('password')

{{ $message }}

@enderror
{{-- Confirm Password Field --}}
{{-- Error for confirmation usually shows under the main password field via 'confirmed' rule --}}
{{-- Add Role/Permission selection here if needed --}} {{-- Example: --}} {{--
@error('role')

{{ $message }}

@enderror
--}} {{-- Add is_admin checkbox if using that flag --}} {{--
--}} {{-- Submit Button --}}
{{-- End Form Container --}} @endsection