<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <form class="" action={{ url("posts/$post->post_id") }} method="post">
      @csrf
      {{ method_field('PUT') }}
      โพส:<textarea name="detail" rows="8" cols="80">{{ $post->detail }}</textarea>
      user:<input type="number" name="user_id" value="{{ $post->user_id }}">
      <button type="submit">edit</button>
    </form>
  </body>
</html>
