small fixes
This commit is contained in:
parent
831a38a317
commit
094393e7fb
2 changed files with 6 additions and 1 deletions
|
@ -55,7 +55,7 @@ class System
|
|||
'show-tos' => 'string',
|
||||
'alert-enabled' => 'string',
|
||||
'alter-type' => 'string',
|
||||
'alert-message' => 'string',
|
||||
'alert-message' => 'string|nullable',
|
||||
]);
|
||||
|
||||
$validator->after(function ($validator) use ($request) {
|
||||
|
|
|
@ -336,6 +336,11 @@
|
|||
class="form-control @error('alert-message') is-invalid @enderror">
|
||||
{{ config('SETTINGS::SYSTEM:ALERT_MESSAGE', '') }}
|
||||
</textarea>
|
||||
@error('alert-message')
|
||||
<div class="text-danger">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue