30 lines
1.3 KiB
PHP
30 lines
1.3 KiB
PHP
@extends('layouts.admin')
|
|
@section('content')
|
|
<h1>Установить глобального администратора</h1>
|
|
<form action="{{ route('admin.setSuperAdmin') }}" method="post">
|
|
@csrf
|
|
<div class="mb-3">
|
|
<label for="titleFormControlTextarea" class="form-label">ФИО</label>
|
|
<input type="text" class="form-control" id="titleFormControlTextarea1" name="name" rows="2">
|
|
@error('name')
|
|
<div class="text-danger">{{ $message }}</div>
|
|
@enderror
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="titleFormControlTextarea" class="form-label">Email</label>
|
|
<input type="text" class="form-control" id="titleFormControlTextarea1" name="email" rows="2">
|
|
@error('name')
|
|
<div class="text-danger">{{ $message }}</div>
|
|
@enderror
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="titleFormControlTextarea" class="form-label">Телефон</label>
|
|
<input type="text" class="form-control" id="titleFormControlTextarea1" name="phone" rows="2">
|
|
@error('name')
|
|
<div class="text-danger">{{ $message }}</div>
|
|
@enderror
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Создать администратора</button>
|
|
</form>
|
|
@endsection
|