users.blade.php 593 B

123456789101112131415161718
  1. @extends('layout')
  2. @section('title') Users @endsection
  3. @section('content')
  4. <div style="display: flex; gap: 40%; width: 100%">
  5. <h1 style="text-decoration: underline; width: 40%">Список Пользователей:</h1>
  6. <form method="get" action="/public/users/insert" style="margin-top:30px; display:flex; gap: 15px">
  7. <input type="text" name="name" value="">
  8. <button type="submit" name="button" value="new">Добавить пользователя</button>
  9. </form>
  10. </div>
  11. @each("users.single-user", $users, "user")
  12. @yield('action-button')
  13. @endsection