Disable spellcheck on Edit Liquidsoap Config fields.
This commit is contained in:
parent
b6656a35f1
commit
092f4ebd9d
|
@ -81,6 +81,7 @@ class EditLiquidsoapConfigController
|
|||
[
|
||||
'belongsTo' => 'backend_config',
|
||||
'class' => 'text-preformatted',
|
||||
'spellcheck' => 'false',
|
||||
],
|
||||
];
|
||||
} else {
|
||||
|
@ -114,10 +115,14 @@ class EditLiquidsoapConfigController
|
|||
return $response->withRedirect($request->getUri()->getPath());
|
||||
}
|
||||
|
||||
return $request->getView()->renderToResponse($response, 'system/form_page', [
|
||||
'form' => $form,
|
||||
'render_mode' => 'edit',
|
||||
'title' => __('Edit Liquidsoap Configuration'),
|
||||
]);
|
||||
return $request->getView()->renderToResponse(
|
||||
$response,
|
||||
'system/form_page',
|
||||
[
|
||||
'form' => $form,
|
||||
'render_mode' => 'edit',
|
||||
'title' => __('Edit Liquidsoap Configuration'),
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue