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