Untitled
user_5905108
Laravel Blade
06/24/2024 7:16 PM
1.5 KB
24
No Index
Never
Inside resources/views/admin/pages/index.blade.php change this:
<th>{{ trans('title') }}</th>
<th>{{ trans('description') }}</th>
<th>{{ trans('status') }}</th>
<th class="text-right">{{ trans('options') }}</th>
</tr>
</thead>
<tbody>
@foreach ($pages as $key => $page)
<tr>
<td>{{ ($key+1) }}</td>
<td>{{ $page->title }}</td>
to this:
<th>{{ trans('title') }}</th>
<th>{{ trans('slug') }}</th>
<th>{{ trans('description') }}</th>
<th>{{ trans('status') }}</th>
<th class="text-right">{{ trans('options') }}</th>
</tr>
</thead>
<tbody>
@foreach ($pages as $key => $page)
<tr>
<td>{{ ($key+1) }}</td>
<td>{{ $page->title }}</td>
<td>{{ $page->slug }}</td>Editor is loading...
Leave a Comment