photo slider edit function fixed

This commit is contained in:
armiejean 2025-05-19 19:31:12 +08:00
parent 20e0c6c680
commit f5b2c5761c
2 changed files with 3 additions and 1 deletions

View File

@ -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,

View File

@ -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