2022-11-21 07:47:07 +00:00
|
|
|
@extends('layouts.admin')
|
|
|
|
|
|
|
|
@section('title', '新建管理员')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<h3>权力越大,责任越大</h3>
|
|
|
|
<a class="mt-3" href="{{ route('admin.admins.index') }}">返回管理员列表</a>
|
|
|
|
|
|
|
|
<form method="POST" action="{{ route('admin.admins.store')}}">
|
|
|
|
@csrf
|
|
|
|
|
2023-01-05 14:36:19 +00:00
|
|
|
<div class="form-group mt-1">
|
|
|
|
<label for="name">用户名</label>
|
|
|
|
<input type="text" class="form-control" id="name" name="name" placeholder="用户名" required>
|
|
|
|
</div>
|
|
|
|
|
2022-11-21 07:47:07 +00:00
|
|
|
<div class="form-group mt-1">
|
|
|
|
<label for="email">Email</label>
|
|
|
|
<input type="text" class="form-control" id="email" name="email" placeholder="Email" required>
|
|
|
|
</div>
|
|
|
|
|
2023-01-05 14:36:19 +00:00
|
|
|
<button type="submit" class="btn btn-primary mt-3">添加</button>
|
2022-11-21 07:47:07 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
@endsection
|