<commit_before><div>Register user</div>

<?php if (isset($this->outcome)) {
    var_dump($outcome);

    if (!$this->outcome['result']) { ?>
        <div class="alert alert-danger"><?php echo $this->translate(
                $this->outcome['msg']
            ) ?></div>
    <?php
    }
}
?>

<div class="panel panel-default registration-box">
    <div class="panel-heading"><?php echo $this->translate(
            'Create account'
        ) ?></div>
    <div class="panel-body">
        <form action="<?php echo $this->url('register-user') ?>" method="post">
            <hr>
            <h4><?php echo $this->translate('Basic details') ?></h4>
            <hr>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon1"><p
                        class="reg-form-field-desc""><?php echo $this->translate(
                        'Username'
                    ) ?></p></span>
                <input type="text" name="username" class="form-control"
                       placeholder="<?php echo $this->translate('Username') ?>"
                       value="<?php echo $this->userData['username'] ?>"
                       required>
            </div>

            <div class="input-group">
                <span class="input-group-addon" id="basic-addon1"><p
                        class="reg-form-field-desc""><?php echo $this->translate(
                        'Email'
                    ) ?></p></span>
                <input type="email" name="email" class="form-control"
                       placeholder="<?php echo $this->translate('Email') ?>"
                       value="<?php echo $this->userData['email'] ?>" required>
            </div>

            <div class="input-group">
                <span class="input-group-addon" id="basic-addon1"><p
                        class="reg-form-field-desc""><?php echo $this->translate(
                        'Password'
                    ) ?></p></span><commit_msg>register view - alert moved to panel<commit_after><div>Register user</div>

<div class="panel panel-default registration-box">
    <div class="panel-heading"><?php echo $this->translate(
            'Create account'
        ) ?></div>
    <div class="panel-body">
        <?php if (isset($this->outcome)) {
            if (!$this->outcome['result']) { ?>
                <div class="alert alert-danger"><?php echo $this->translate(
                        $this->outcome['msg']
                    ) ?></div>
            <?php
            }
        }
        ?>

        <form action="<?php echo $this->url('register-user') ?>" method="post">
            <hr>
            <h4><?php echo $this->translate('Basic details') ?></h4>
            <hr>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon1"><p
                        class="reg-form-field-desc""><?php echo $this->translate(
                        'Username'
                    ) ?></p></span>
                <input type="text" name="username" class="form-control"
                       placeholder="<?php echo $this->translate('Username') ?>"
                       value="<?php echo $this->userData['username'] ?>"
                       required>
            </div>

            <div class="input-group">
                <span class="input-group-addon" id="basic-addon1"><p
                        class="reg-form-field-desc""><?php echo $this->translate(
                        'Email'
                    ) ?></p></span>
                <input type="email" name="email" class="form-control"
                       placeholder="<?php echo $this->translate('Email') ?>"
                       value="<?php echo $this->userData['email'] ?>" required>
            </div>

            <div class="input-group">
                <span class="input-group-addon" id="basic-addon1"><p
                        class="reg-form-field-desc""><?php echo $this->translate(
                        'Password'
                    ) ?></p></span>
{'fraction_non_alphanumeric': 0.17519880715705766, 'fraction_numerical': 0.002485089463220676, 'mean_word_length': 1.5474683544303798, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 121, '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': '3015409', 'n_tokens_mistral': 1071, 'n_tokens_neox': 1056, 'n_words': 193}