user.blade.php 677 B

1234567891011121314
  1. @extends('layout')
  2. @section('title') User @endsection
  3. @section('content')
  4. <div style="display:flex; gap: 50px; position: fixed; width: 100%; margin: 20px;">
  5. <form method="get" action="/public/users/update" style="display:flex; gap: 50px; width: 80%;">
  6. <input style="font-size: 25pt; width: 70%" type="text" name="name" value="{{$user->name}}">
  7. <button type="submit" name="id" value="{{$user->id}}" style="margin-left:40%">Изменить</button>
  8. </form>
  9. <form method="get" action="/public/users/delete" style="display:flex; gap: 50px;"><button type="submit" name="button" value="{{$user->id}}">Удалить</button></form>
  10. </div>
  11. @endsection