<commit_before><?php
$title = 'Database connection';
$this->headTitle($title);
?>
<h1><?php echo $this->escapeHtml($title); ?></h1>
<?php
$modulesForm->setAttribute('action', $this->url('install', ['controller' => 'index', 'action' => 'database']));
$modulesForm->prepare();
?>

<form role="form" class="form-horizontal" method="post">

    <div class="form-group">
        <label for="inputHost" class="col-md-2 control-label"><?= $modulesForm->get('host')->getLabel(); ?></label>
        <div class="col-md-4">
            <input type="text" class="form-control" id="inputHost" name="<?= $modulesForm->get('host')->getName(); ?>" value="<?= $modulesForm->get('host')->getValue(); ?>" placeholder="<?= $modulesForm->get('host')->getLabel(); ?>">
            <?= $this->formElementErrors($modulesForm->get('host')); ?>
        </div>
    </div>

    <div class="form-group">
        <div class="col-md-offset-2 col-sm-3">
            <button class="btn btn-primary"><a href="<?=$this->url('install/default', ['controller' => 'index', 'action' => 'database'])?>">Previous</a></button>
        </div>
        <div class="col-sm-2">
            <button class="btn btn-primary" type="submit">Next</button>
        </div>
    </div>

</form><commit_msg>Added forms for choosing modules<commit_after><?php
$title = 'Database connection';
$this->headTitle($title);
?>
<h1><?php echo $this->escapeHtml($title); ?></h1>
<?php
$modulesForm->setAttribute('action', $this->url('install', ['controller' => 'index', 'action' => 'database']));
$modulesForm->prepare();
?>

<form role="form" class="form-horizontal" method="post">

    <div class="form-group">
        <label for="checkboxMedia" class="col-md-2 control-label"><?= $modulesForm->get('checkbox_media')->getLabel(); ?></label>
        <div class="col-md-4">
            <input type="checkbox" class="form-control" id="checkboxMedia" name="<?= $modulesForm->get('checkbox_media')->getName(); ?>" value="<?= $modulesForm->get('checkbox_media')->getValue(); ?>" placeholder="<?= $modulesForm->get('checkbox_media')->getLabel(); ?>">
            <?= $this->formElementErrors($modulesForm->get('checkbox_media')); ?>
        </div>
    </div>

    <div class="form-group">
        <label for="checkboxCategories" class="col-md-2 control-label"><?= $modulesForm->get('checkbox_categories')->getLabel(); ?></label>
        <div class="col-md-4">
            <input type="checkbox" class="form-control" id="checkboxCategories" name="<?= $modulesForm->get('checkbox_categories')->getName(); ?>" value="<?= $modulesForm->get('checkbox_categories')->getValue(); ?>" placeholder="<?= $modulesForm->get('checkbox_categories')->getLabel(); ?>">
            <?= $this->formElementErrors($modulesForm->get('checkbox_categories')); ?>
        </div>
    </div>

    <div class="form-group">
        <label for="checkboxComments" class="col-md-2 control-label"><?= $modulesForm->get('checkbox_comments')->getLabel(); ?></label>
        <div class="col-md-4">
            <input type="checkbox" class="form-control" id="checkboxComments" name="<?= $modulesForm->get('checkbox_comments')->getName(); ?>" value="<?= $modulesForm->get('checkbox_comments')->getValue(); ?>" placeholder="<?= $modulesForm->get('checkbox_comments')->getLabel(); ?>">
            <?= $this->formElementErrors($modulesForm->get('checkbox_comments')); ?>
        </div>
    </div>

    <div class="form-group">
        <label for="checkboxDashboard" class="col-md-2 control-label"><?= $modulesForm->get('checkbox_dashboard')->getLabel(); ?></label>
        <div class="col-md-4">
            <input type="checkbox" class="form-control" id="checkboxDashboard" name="<?= $modulesForm->get('checkbox_dashboard')->getName(); ?>" value="<?= $modulesForm->get('checkbox_dashboard')->getValue(); ?>" placeholder="<?= $modulesForm->get('checkbox_dashboard')->getLabel(); ?>">
            <?= $this->formElementErrors($modulesForm->get('checkbox_dashboard')); ?>
        </div>
    </div>

    <div class="form-group">
        <label for="checkboxMail" class="col-md-2 control-label"><?= $modulesForm->get('checkbox_mail')->getLabel(); ?></label>
        <div class="col-md-4">
            <input type="checkbox" class="form-control" id="checkboxMail" name="<?= $modulesForm->get('checkbox_mail')->getName(); ?>" value="<?= $modulesForm->get('checkbox_mail')->getValue(); ?>" placeholder="<?= $modulesForm->get('checkbox_mail')->getLabel(); ?>">
            <?= $this->formElementErrors($modulesForm->get('checkbox_mail')); ?>
        </div>
    </div>

    <div class="form-group">
        <label for="checkboxOptions" class="col-md-2 control-label"><?= $modulesForm->get('checkbox_options')->getLabel(); ?></label>
        <div class="col-md-4">
            <input type="checkbox" class="form-control" id="checkboxOptions" name="<?= $modulesForm->get('checkbox_options')->getName(); ?>" value="<?= $modulesForm->get('checkbox_options')->getValue(); ?>" placeholder="<?= $modulesForm->get('checkbox_options')->getLabel(); ?>">
            <?= $this->formElementErrors($modulesForm->get('checkbox_options')); ?>
        </div>
    </div>

    <div class="form-group">
        <label for="checkboxPages" class="col-md-2 control-label"><?= $modulesForm->get('checkbox_pages')->getLabel(); ?></label>
        <div class="col-md-4">
            <input type="checkbox" class="form-control" id="checkboxPages" name="<?= $modulesForm->get('checkbox_pages')->getName(); ?>" value="<?= $modulesForm->get('checkbox_pages')->getValue(); ?>" placeholder="<?= $modulesForm->get('checkbox_pages')->getLabel(); ?>">
            <?= $this->formElementErrors($modulesForm->get('checkbox_pages')); ?>
        </div>
    </div>

    <div class="form-group">
        <label for="checkboxTest" class="col-md-2 control-label"><?= $modulesForm->get('checkbox_test')->getLabel(); ?></label>
        <div class="col-md-4">
            <input type="checkbox" class="form-control" id="checkboxTest" name="<?= $modulesForm->get('checkbox_test')->getName(); ?>" value="<?= $modulesForm->get('checkbox_test')->getValue(); ?>" placeholder="<?= $modulesForm->get('checkbox_test')->getLabel(); ?>">
            <?= $this->formElementErrors($modulesForm->get('checkbox_test')); ?>
        </div>
    </div>

    <div class="form-group">
        <div class="col-md-offset-2 col-sm-3">
            <button class="btn btn-primary"><a href="<?=$this->url('install/default', ['controller' => 'index', 'action' => 'database'])?>">Previous</a></button>
        </div>
        <div class="col-sm-2">
            <button class="btn btn-primary" type="submit">Next</button>
        </div>
    </div>

</form>
{'fraction_non_alphanumeric': 0.24391709221988586, 'fraction_numerical': 0.004205467107239411, 'mean_word_length': 4.3875404530744335, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 261, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3010217', 'n_tokens_mistral': 1926, 'n_tokens_neox': 1972, 'n_words': 298}