feat: add btn text
This commit is contained in:
@@ -36,6 +36,7 @@ public function store(Request $request)
|
||||
'title' => 'required|string|max:255',
|
||||
'description' => 'nullable|string',
|
||||
'link' => 'nullable|string|max:500',
|
||||
'button_text' => 'nullable|string|max:255',
|
||||
'start_date' => 'nullable|date',
|
||||
'end_date' => 'nullable|date|after_or_equal:start_date',
|
||||
'image_id' => 'nullable|exists:images,id',
|
||||
@@ -68,6 +69,7 @@ public function update(Request $request, $id)
|
||||
'title' => 'sometimes|string|max:255',
|
||||
'description' => 'nullable|string',
|
||||
'link' => 'nullable|string|max:500',
|
||||
'button_text' => 'nullable|string|max:255',
|
||||
'start_date' => 'nullable|date',
|
||||
'end_date' => 'nullable|date|after_or_equal:start_date',
|
||||
'image_id' => 'nullable|exists:images,id',
|
||||
|
||||
Reference in New Issue
Block a user