@extends('layouts.app') @section('content')

Add New Admin

@csrf
@php $roleLabels = [ 'admin' => 'Editor', 'user' => 'Viewer', ]; $creator = auth()->user(); @endphp
@foreach($roleLabels as $value => $label) @php $inputId = 'role_' . $value; @endphp @endforeach
@if($creator->can_sell) @endif @if($creator->can_lease) @endif @if($creator->can_rent) @endif
@endsection