Disable spellcheck on Edit Liquidsoap Config fields.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-01-20 14:05:19 -06:00
parent b6656a35f1
commit 092f4ebd9d
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 10 additions and 5 deletions

View File

@ -81,6 +81,7 @@ class EditLiquidsoapConfigController
[ [
'belongsTo' => 'backend_config', 'belongsTo' => 'backend_config',
'class' => 'text-preformatted', 'class' => 'text-preformatted',
'spellcheck' => 'false',
], ],
]; ];
} else { } else {
@ -114,10 +115,14 @@ class EditLiquidsoapConfigController
return $response->withRedirect($request->getUri()->getPath()); return $response->withRedirect($request->getUri()->getPath());
} }
return $request->getView()->renderToResponse($response, 'system/form_page', [ return $request->getView()->renderToResponse(
'form' => $form, $response,
'render_mode' => 'edit', 'system/form_page',
'title' => __('Edit Liquidsoap Configuration'), [
]); 'form' => $form,
'render_mode' => 'edit',
'title' => __('Edit Liquidsoap Configuration'),
]
);
} }
} }