@extends('layout.index') @section('title', 'User Create') @section('content') @if (isset($id)) Edit User @else Add User @endif @if ($message = Session::get('success')) {{ $message }} × @elseif ($message = Session::get('error')) {{ $message }} × @endif {{ csrf_field() }} {{-- Username * @error('username') {{ $message }} @enderror First Name * @error('firstname') {{ $message }} @enderror Last Name * @error('lastname') {{ $message }} @enderror --}} {{-- Contact Number * @error('contact_number') {{ $message }} @enderror Email * @error('email') {{ $message }} @enderror --}} Username * @error('username') {{ $message }} @enderror First Name * @error('firstname') {{ $message }} @enderror Last Name * @error('lastname') {{ $message }} @enderror Contact Number * @error('contact_number') {{ $message }} @enderror Email* @error('email') {{ $message }} @enderror Credential: Password * @error('password') {{ $message }} @enderror Confirm Password * @error('password_confirmation') {{ $message }} @enderror Status * Active Inactive @error('status') {{ $message }} @enderror {{-- Role * Select Role @error('user_role') {{ $message }} @enderror --}} Role * Select Role @error('user_role') {{ $message }} @enderror Submit Cancel @endsection