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',
|
'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'),
|
||||||
|
]
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue