Add option display to form (css needs updates)

Add options with_run_button and with_book_button to FormBlockOql
This commit is contained in:
Benjamin DALSASS
2026-01-12 08:00:17 +01:00
parent 3c365fc103
commit f79bb9d51c
6 changed files with 57 additions and 13 deletions

View File

@@ -63,6 +63,7 @@ class FormBlock extends AbstractTypeFormBlock
{
parent::RegisterOptions($oOptionsRegister);
$oOptionsRegister->SetOption('compound', true);
$oOptionsRegister->SetOption('display', 'cosy');
$oOptionsRegister->SetOptionArrayValue('attr', 'class', 'form');
}