fix: [template:registration] Correct usage of modal parameters

refacto/CRUDComponent
Sami Mokaddem 2023-03-23 10:42:02 +01:00
parent 6fe1318ada
commit 727c21bd23
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 4 additions and 2 deletions

View File

@ -89,8 +89,10 @@ echo $this->Bootstrap->modal([
'<div class="form-container">%s</div>',
$combinedForm
),
'confirmText' => __('Create user'),
'confirmFunction' => 'submitRegistration'
'confirmButton' => [
'text' => __('Create user'),
'onclick' => 'submitRegistration',
],
]);
?>
</div>