laravel click view details in table

Solutions on MaxInterview for laravel click view details in table by the best coders in the world

showing results for - "laravel click view details in table"
Marcos
27 Oct 2020
1 <div class="col-sm-12">
2        <div class="content">
3          <table class="table table-striped" id="myTable">
4            <thead>
5              <tr>
6                <th>Title</th> 
7                <th>Slug</th>
8                <th>Category</th>
9                <th>Status</th>
10                <th>Date</th>
11              </tr>
12            </thead>
13            <tbody>
14              @if(count($posts) > 0)
15              @foreach($posts as $post)
16              <tr>
17                <td>{{ $post->title }}</td>
18                <td>{{ $post->slug }}</td>
19                <td>{{ $post->category_id }}</td>
20                <td>{{ $post->status }}</td>
21                <td>{{ $post->created_at }}</td>              
22              </tr>
23              @endforeach
24              @else
25              <tr> 
26                <td>No data Found.</td>            
27              </tr>
28              @endif  
29            </tbody>
30          </table>
31        </div>
32      </div>