echo $form->field('db.database', 'text', ['class' => 'form-control', 'placeHolder' => 'ffdb'], __('Database name in database server')); echo $form->field('db.prefix', 'text', ['class' => 'form-control', 'placeHolder' => 'ffcms_'], __('Table prefix for multiple usage of single database (example: ffcms_)')); ?> <h2><?php echo __('General configurations'); ?> </h2> <?php echo $form->field('mainpage', 'radio', ['options' => ['none' => __('Developer'), 'news' => __('News list'), 'about' => __('About page')], 'optionsKey' => true], __('Select what we should display on the main page. You can always change it in routing configurations')); echo $form->field('email', 'text', ['class' => 'form-control', 'placeHolder' => '*****@*****.**'], __('Set your general email to use in sendFrom for mailing functions')); echo $form->field('singleLanguage', 'select', ['class' => 'form-control', 'options' => \App::$Translate->getAvailableLangs()], __('Default language of website')); echo $form->field('multiLanguage', 'checkbox', ['checked' => true], __('Must we use multi language system in site pathway')); ?> <h2><?php echo __('Administrator account'); ?> </h2> <?php echo $form->field('user.login', 'text', ['class' => 'form-control'], __('Set administrator account login')); echo $form->field('user.email', 'text', ['class' => 'form-control'], __('Set administrator account email')); echo $form->field('user.password', 'password', ['class' => 'form-control'], __('Set administrator password')); echo $form->field('user.repassword', 'password', ['class' => 'form-control'], __('Repeat administrator password')); echo $form->submitButton(__('Install'), ['class' => 'btn btn-primary']); ?> <?php echo $form->finish();