Increase template description limit
This commit is contained in:
parent
5111957ea5
commit
7119ec2304
|
@ -58,7 +58,7 @@ class FormTemplateRequest extends FormRequest
|
||||||
'name' => 'required|string|max:60',
|
'name' => 'required|string|max:60',
|
||||||
'slug' => 'required|string|alpha_dash|unique:templates,slug'.$slugRule,
|
'slug' => 'required|string|alpha_dash|unique:templates,slug'.$slugRule,
|
||||||
'short_description' => 'required|string|max:1000',
|
'short_description' => 'required|string|max:1000',
|
||||||
'description' => 'required|string|max:2000',
|
'description' => 'required|string',
|
||||||
'image_url' => 'required|string',
|
'image_url' => 'required|string',
|
||||||
'types' => 'nullable|array',
|
'types' => 'nullable|array',
|
||||||
'industries' => 'nullable|array',
|
'industries' => 'nullable|array',
|
||||||
|
@ -75,7 +75,7 @@ class FormTemplateRequest extends FormRequest
|
||||||
unset($structure[$key]);
|
unset($structure[$key]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Template([
|
return new Template([
|
||||||
'publicly_listed' => $this->publicly_listed,
|
'publicly_listed' => $this->publicly_listed,
|
||||||
'name' => $this->name,
|
'name' => $this->name,
|
||||||
|
|
Loading…
Reference in New Issue