Skip to content

Commit 1045029

Browse files
committed
item-list button
1 parent 0764cb8 commit 1045029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/admin/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
<template slot="table-row" slot-scope="{ model, checkedModels, loading }">
3030
<td class="checkbox" v-if="$can('update places')||$can('delete places')"><item-list-checkbox :model="model" :checked-models-prop="checkedModels" :loading="loading"></item-list-checkbox></td>
31-
<td v-if="$can('update places')">@include('core::admin._button-edit', ['module' => 'places'])</td>
31+
<td v-if="$can('update places')"><item-list-edit-button :url="'/admin/places/'+model.id+'/edit'"></item-list-edit-button></td>
3232
<td><item-list-status-button :model="model"></item-list-status-button></td>
3333
<td><img :src="model.thumb" alt="" height="27"></td>
3434
<td v-html="model.title_translated"></td>

0 commit comments

Comments
 (0)