1234567891011 |
- <div class="comment">
- <form method="get" action="/public/users/posts" style="width: 10%"><button name="id" value="{{$comment->user[0]->id}}">{{$comment->user[0]->name}}</button></form>
- <div style="width: 90%">
- <div style="display:flex; gap: 10px">
- <form method="get" action="/public/posts/comment/update" style="width: 93%; text-align: right"><button name="id" value="{{$comment->id}}">🖌</button></form>
- <form method="get" action="/public/posts/comment/delete"><button name="id" value="{{$comment->id}}">✖</button></form>
- </div>
- <div style="margin: 10px;">{{$comment->text}}</div>
- <div style="text-align: right;"> {{Str::limit($comment->created_at, $limit=11, $end="")}} </div>
- </div>
- </div>
|