前提
あるシステムを作成中なのですが、ビューを作成しても画面が表示されずアイムアウトする
実現したいこと
画面が表示される
発生している問題・エラーメッセージ
タイムアウト
該当のソースコード
@section('content') <h1>ユーザー一覧</h1> <a href="{{ route('admin.users.create') }}" class="btn btn-success">作成</a> <table class="table"> <thead> <tr> <th class="text-center">#</th> <th>ユーザー名</th> <th>メールアドレス</th> </tr> </thead> <tbody> @foreach($users as $user) <tr> <td class="text-center">{{ $user->id }}</td> <td>{{ $user->name }}</td> <td>{{ $user->email }}</td> {{--<td>Develop</td>--}} <td class="td-actions text-right"> <button type="button" rel="tooltip" class="btn btn-success"> <a href="{{ route('admin.users.edit', [$user->id]) }}" class="text-white"><i class="material-icons">edit</i></a> </button> <td> {!! Form::model($user, ['route' => ['users.destroy', $user->id], 'method' => 'delete']) !!} {!! Form::submit('delete', ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} </td> <button type="button" rel="tooltip" class="btn btn-danger"> <i class="material-icons">close</i> </button> </td> </tr> @endforeach </tbody> </table> @endsection
試したこと
他のコーディングもしてみた
補足情報(FW/ツールのバージョンなど)
<td>{!!~の書き方があってないのかもしれません。参考にしたURL
① https://qiita.com/hrtkjm/items/76d844262be625886f92
② https://qiita.com/hrtkjm/items/566f817625d79d727299
・自分のパソコン(Windows10)にDockerをインストール
・Laravel5.8.38(PHP)の開発
・MySQL

回答1件
あなたの回答
tips
プレビュー