123456789101112131415161718192021222324 |
- @extends('layout')
- @section('title') Users @endsection
- @section('content')
- <div class="new">
- <h2>Список пользователей:</h2>
- <form method="get" action="/public/users/insert">
- <div style="display: flex; gap: 20px">
- <button type="submit" name="button" value="new">Добавить пользователя</button>
- <input type="text" name="name" value="">
- </div>
- <div style="padding: 15px; padding-bottom: 0; padding-right: 35px;">
- <input type="checkbox" name="admin">
- <label>Добавить роль Администратора</label>
- </div>
- </form>
- </div>
- <div style="display:flex; flex-direction: column; gap: 20px;"> @each("users.user", $users, "user") </div>
- @yield('action-button')
- @endsection
|