@extends('backend.layouts.admin.app') @section('content') Staff {{$title}} {{$title}} @include('backend.layouts.alert') @csrf @if($pageData) @method('PUT') @endif Staff Name @if ($errors->has('name')) {{ $errors->first('name') }} @endif Email @if ($errors->has('email')) {{ $errors->first('email') }} @endif Phone @if ($errors->has('phone')) {{ $errors->first('phone') }} @endif Role Select Role @foreach ($roles as $role) id ? 'selected' : '' }}>{{ $role->name }} @endforeach @if ($errors->has('role_id')) {{ $errors->first('role_id') }} @endif @endsection