<commit_before><?php
$selectedColumns = $form->vars['value'];

$labelClass = (empty($form->vars['label_attr']['class'])) ? 'control-label' : $form->vars['label_attr']['class'];
?>
<div class="row">
    <div class="form-group col-xs-12 col-sm-8 col-md-6">
        <label class="<?php echo $labelClass; ?>"><?php echo $view['translator']->trans($form->vars['label']); ?></label>
        <div class="row">
            <div class="choice-wrapper col-xs-5">
                <label class="<?php echo $labelClass; ?>" for="<?php echo $form->vars['id'] . '_available'; ?>"><?php echo $view['translator']->trans('mautic.report.report.label.availablecolumns'); ?></label>
                <select id="<?php echo $form->vars['id'] . '_available'; ?>" name="<?php echo $form->vars['id'] . '[available]'; ?>" class="<?php echo $form->vars['attr']['class'] ?>"<?php if ($form->vars['multiple']) echo ' multiple="multiple"'; ?> size="<?php echo $form->vars['attr']['size'] ?>">
                    <?php foreach ($form->vars['choices'] as $choice) { ?>
                    <?php if (!$selectedColumns[$choice->value]) { ?>
                    <option value="<?php echo $choice->value; ?>"><?php echo $choice->label; ?></option>
                    <?php } ?>
                    <?php } ?>
                </select>
            </div>
            <div class="columnSelectorButtons col-xs-1">
                <div class="text-center">
                    <button type="button" id="column-move-left" class="btn btn-sm btn-default" onclick="Mautic.moveReportColumns('<?php echo $form->vars['id']; ?>', '<?php echo $form->vars['id'] . '_available'; ?>');"><i class="fa fa-caret-square-o-left"></i></button>
                </div>
                <div class="text-center">
                    <button type="button" id="column-move-right" class="btn btn-sm btn-default" onclick="Mautic.moveReportColumns('<?php echo $form->vars['id'] . '_available'; ?>', '<?php echo $form->vars['id']; ?>');"><i class="fa fa-caret-square-o-right"></i></button>
                </div>
            </div>
            <div class="choice-wrapper col-xs-5">
                <label class="<?php echo $labelClass; ?>" for="<?php echo $form->vars['id']; ?>"><?php echo $view['translator']->trans('mautic.report.report.label.selectedcolumns'); ?></label>
                <span data-toggle="tooltip" data-container="body" data-placement="top"
                      data-original-title="<?php echo $view['translator']->trans('mautic.report.report.tooltip.selected.columns'); ?>">
                    <i class="fa fa-question-circle"></i>
                </span>
                <select id="<?php echo $form->vars['id']; ?>" name="<?php echo $form->vars['full_name']; ?>[]" class="<?php echo $form->vars['attr']['class'] ?>"<?php if ($form->vars['multiple']) echo ' multiple="multiple"'; ?> size="<?php echo $form->vars['attr']['size'] ?>">
                    <?php foreach ($form->vars['choices'] as $choice) { ?>
                    <?php if ($selectedColumns[$choice->value]) { ?>
                    <option value="<?php echo $choice->value; ?>"><?php echo $choice->label; ?></option>
                    <?php } ?>
                    <?php } ?>
                </select>
            </div>
            <div class="columnSelectorButtons col-xs-1">
                <div class="text-center">
                    <button type="button" id="column-move-left" class="btn btn-sm btn-default" onclick="Mautic.reorderColumns('<?php echo $form->vars['id']; ?>', 'up');"><i class="fa fa-caret-square-o-up"></i></button>
                </div>
                <div class="text-center">
                    <button type="button" id="column-move-right" class="btn btn-sm btn-default" onclick="Mautic.reorderColumns('<?php echo $form->vars['id']; ?>', 'down');"><i class="fa fa-caret-square-o-down"></i></button><commit_msg>Render the selected columns in the order stored in the database<commit_after><?php
$selectedColumns = $form->vars['value'];

$labelClass = (empty($form->vars['label_attr']['class'])) ? 'control-label' : $form->vars['label_attr']['class'];
?>
<div class="row">
    <div class="form-group col-xs-12 col-sm-8 col-md-6">
        <label class="<?php echo $labelClass; ?>"><?php echo $view['translator']->trans($form->vars['label']); ?></label>
        <div class="row">
            <div class="choice-wrapper col-xs-5">
                <label class="<?php echo $labelClass; ?>" for="<?php echo $form->vars['id'] . '_available'; ?>"><?php echo $view['translator']->trans('mautic.report.report.label.availablecolumns'); ?></label>
                <select id="<?php echo $form->vars['id'] . '_available'; ?>" name="<?php echo $form->vars['id'] . '[available]'; ?>" class="<?php echo $form->vars['attr']['class'] ?>"<?php if ($form->vars['multiple']) echo ' multiple="multiple"'; ?> size="<?php echo $form->vars['attr']['size'] ?>">
                    <?php foreach ($form->vars['choices'] as $choice) { ?>
                    <?php if (!$selectedColumns[$choice->value]) { ?>
                    <option value="<?php echo $choice->value; ?>"><?php echo $choice->label; ?></option>
                    <?php } ?>
                    <?php } ?>
                </select>
            </div>
            <div class="columnSelectorButtons col-xs-1">
                <div class="text-center">
                    <button type="button" id="column-move-left" class="btn btn-sm btn-default" onclick="Mautic.moveReportColumns('<?php echo $form->vars['id']; ?>', '<?php echo $form->vars['id'] . '_available'; ?>');"><i class="fa fa-caret-square-o-left"></i></button>
                </div>
                <div class="text-center">
                    <button type="button" id="column-move-right" class="btn btn-sm btn-default" onclick="Mautic.moveReportColumns('<?php echo $form->vars['id'] . '_available'; ?>', '<?php echo $form->vars['id']; ?>');"><i class="fa fa-caret-square-o-right"></i></button>
                </div>
            </div>
            <div class="choice-wrapper col-xs-5">
                <label class="<?php echo $labelClass; ?>" for="<?php echo $form->vars['id']; ?>"><?php echo $view['translator']->trans('mautic.report.report.label.selectedcolumns'); ?></label>
                <span data-toggle="tooltip" data-container="body" data-placement="top"
                      data-original-title="<?php echo $view['translator']->trans('mautic.report.report.tooltip.selected.columns'); ?>">
                    <i class="fa fa-question-circle"></i>
                </span>
                <select id="<?php echo $form->vars['id']; ?>" name="<?php echo $form->vars['full_name']; ?>[]" class="<?php echo $form->vars['attr']['class'] ?>"<?php if ($form->vars['multiple']) echo ' multiple="multiple"'; ?> size="<?php echo $form->vars['attr']['size'] ?>">
                    <?php foreach ($form->vars['data'] as $selected) { ?>
                    <option value="<?php echo $form->vars['choices'][$selected]->value; ?>"><?php echo $form->vars['choices'][$selected]->label; ?></option>
                    <?php } ?>
                </select>
            </div>
            <div class="columnSelectorButtons col-xs-1">
                <div class="text-center">
                    <button type="button" id="column-move-left" class="btn btn-sm btn-default" onclick="Mautic.reorderColumns('<?php echo $form->vars['id']; ?>', 'up');"><i class="fa fa-caret-square-o-up"></i></button>
                </div>
                <div class="text-center">
                    <button type="button" id="column-move-right" class="btn btn-sm btn-default" onclick="Mautic.reorderColumns('<?php echo $form->vars['id']; ?>', 'down');"><i class="fa fa-caret-square-o-down"></i></button>
{'fraction_non_alphanumeric': 0.23153537705342128, 'fraction_numerical': 0.002069589962488682, 'mean_word_length': 2.6924546322827125, 'pattern_counts': {'":': 0, '<': 179, '<?xml version=': 0, '>': 248, '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': '15106', 'n_tokens_mistral': 2236, 'n_tokens_neox': 2233, 'n_words': 437}