photo slider edit function fixed
This commit is contained in:
parent
20e0c6c680
commit
f5b2c5761c
|
@ -25,7 +25,7 @@
|
|||
['name' => 'Start Date', 'key' => 'startDate', 'sortable' => true],
|
||||
['name' => 'End Date', 'key' => 'endDate', 'sortable' => true]
|
||||
],
|
||||
'actions' => ['edit', 'view', 'delete'],
|
||||
'actions' => ['view', 'delete'],
|
||||
'showAddButton' => true,
|
||||
'addButtonUrl' => route('photo-slider.create'),
|
||||
'showCheckboxes' => true,
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
<strong>Active:</strong> {{ $slider['isActive'] ? 'Yes' : 'No' }}
|
||||
</div>
|
||||
<a href="{{ route('photo-slider') }}" class="btn btn-secondary">Back</a>
|
||||
<a href="{{ route('photo-slider.edit', $slider['photo_slider_uuid']) }}" class="btn btn-primary">Edit</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
Loading…
Reference in New Issue