<commit_before><a id="edit_title" class="icon edit" href="#"></a>
<h1><?php echo $this->questionnaire['title']; ?></h1>
<?= $this->form ?>
<br clear="all" />

<div class="clear">
    <a class="ajax link add" href="<?= $this->baseUrl('/question/add/id/' . $this->questionnaire['id']) ?>" title="<?php echo _('nieuwe vraag toevoegen'); ?>">
        <?php echo _('nieuwe vraag toevoegen'); ?>
    </a>
</div>
<div class="clear">
    <a class="ajax link add" href="<?= $this->baseUrl('/questionnaire-question/add/questionnaire_id/' . $this->questionnaire['id']) ?>" title="<?php echo _('bestaande vraag toevoegen'); ?>">
        <?php echo _('bestaande vraag toevoegen'); ?>
    </a>
</div>
<div class="clear">
    <a class="link add add_page" href="#" title="<?php echo _('pagina toevoegen'); ?>">
        <?php echo _('pagina toevoegen'); ?>
    </a>
</div>

<div class="tabs">
    <ul>
        <?php for($i = 1; $i <= $this->totalPages; $i++): ?>
            <li>
                <a href="#page-<?php echo $i; ?>">
                    <?php echo _('pagina') . ' ' . $i; ?>
                </a>
            </li>
        <?php endfor; ?>
    </ul>
    <?php for($i = 1; $i <= $this->totalPages; $i++): ?>
        <div id="page-<?php echo $i; ?>">
            <div class="questions">
                <ul id="questionnaire-questions-list" class="sortable droppable">
                    <?php foreach ($this->questionnaire['QuestionnaireQuestion'] as $quesionnaireQuestion): ?>
                        <?php if ($quesionnaireQuestion['CollectionPresentation'][0]['page'] == $i): ?>
                            <li id="qq_<?php echo $quesionnaireQuestion['id']; ?>">
                                <div class="admin">
                                    <div class="handle" title="<?php echo _('Sleep de vraag naar een andere positie of andere pagina'); ?>"></div>
                                    <div class="options">
                                        <a class="ajax icon edit" title="<?php echo _('bewerken'); ?>" href="<?= $this->baseUrl('/questionnaire-question/edit/id/' . $quesionnaireQuestion['id']); ?>">&nbsp;</a>
                                        <a class="ajax icon delete" title="<?php echo _('verwijderen'); ?>" href="<?= $this->baseUrl('/questionnaire-question/delete/id/' . $quesionnaireQuestion['id']); ?>">&nbsp;</a>
                                    </div>
                                </div>
                                <span>
                                    <?php echo $this->questionElement($quesionnaireQuestion); ?>
                                </span>
                            </li>
                        <?php endif; ?>
                    <?php endforeach; ?>
                </ul>
            </div>
        </div>
    <?php endfor; ?>
</div>
<commit_msg>fix in beheer vragenlijst<commit_after><a id="edit_title" class="icon edit" href="#"></a>
<h1><?php echo $this->questionnaire['title']; ?></h1>
<?= $this->form ?>
<br clear="all" />

<div class="clear">
    <a class="ajax link add" href="<?= $this->baseUrl('/question/add/id/' . $this->questionnaire['id']) ?>" title="<?php echo _('nieuwe vraag toevoegen'); ?>">
        <?php echo _('nieuwe vraag toevoegen'); ?>
    </a>
</div>
<div class="clear">
    <a class="ajax link add" href="<?= $this->baseUrl('/questionnaire-question/add/questionnaire_id/' . $this->questionnaire['id']) ?>" title="<?php echo _('bestaande vraag toevoegen'); ?>">
        <?php echo _('bestaande vraag toevoegen'); ?>
    </a>
</div>
<div class="clear">
    <a class="link add add_page" href="#" title="<?php echo _('pagina toevoegen'); ?>">
        <?php echo _('pagina toevoegen'); ?>
    </a>
</div>

<div class="tabs">
    <ul>
        <?php for($i = 1; $i <= $this->totalPages; $i++): ?>
            <li>
                <a href="#page-<?php echo $i; ?>">
                    <?php echo _('pagina') . ' ' . $i; ?>
                </a>
            </li>
        <?php endfor; ?>
    </ul>
    <?php for($i = 1; $i <= $this->totalPages; $i++): ?>
        <div id="page-<?php echo $i; ?>">
            <div class="questions">
                <ul id="questionnaire-questions-list" class="sortable droppable">
                    <?php foreach ($this->questionnaire['QuestionnaireQuestion'] as $quesionnaireQuestion): ?>
                        <?php if ($quesionnaireQuestion['CollectionPresentation'] && $quesionnaireQuestion['CollectionPresentation'][0]['page'] == $i): ?>
                            <?php echo $this->questionElement($quesionnaireQuestion); ?>
                        <?php endif; ?>
                    <?php endforeach; ?>
                </ul>
            </div>
        </div>
    <?php endfor; ?>
</div>

{'fraction_non_alphanumeric': 0.20838627700127066, 'fraction_numerical': 0.0021177467174925877, 'mean_word_length': 2.0044529262086512, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3948703', 'n_tokens_mistral': 1437, 'n_tokens_neox': 1403, 'n_words': 318}