<commit_before><?php defined('C5_EXECUTE') or die('Access denied.');
$form = Loader::helper('form');
?>

<form method='post'
      action='<?= View::url('/login', 'authenticate', $this->getAuthenticationTypeHandle()) ?>'>
    <div class="form-group concrete-login">
        <span><?= t('Sign in with a local account.') ?> </span>
        <hr>
    </div>
    <div class="form-group">
        <input name="uName" class="form-control col-sm-12"
               placeholder="<?=USER_REGISTRATION_WITH_EMAIL_ADDRESS ? t('Email Address') : t('Username')?>" />
    </div>
    <div class="form-group">
        <label><?php // Empty label for spacing ?></label>
        <input name="uPassword" class="form-control" type="password"
               placeholder="Password" />
    </div>
    <div class="form-group">
        <label class="checkbox" style="font-weight:normal">
            <input type="checkbox" name="uMaintainLogin" value="1">
            <?= t('Stay signed in for two weeks') ?>
        </label>
    </div>

    <?php
    if (isset($locales) && is_array($locales) && count($locales) > 0) {
        ?>
        <div class="form-group">
            <label for="USER_LOCALE" class="control-label"><?= t('Language') ?></label>
            <?= $form->select('USER_LOCALE', $locales) ?>
        </div>
    <?
    }
    ?>

    <div class="form-group">
        <button class="btn btn-primary"><?= t('Log in') ?></button>
        <a href="<?=View::url('/login', 'concrete', 'forgot_password')?>" class="btn pull-right"><?= t('Forgot Password') ?></a>
    </div>

    <?php Loader::helper('validation/token')->output('login_' . $this->getAuthenticationTypeHandle()); ?><commit_msg>Fix local auth form spacing<commit_after><?php defined('C5_EXECUTE') or die('Access denied.');
$form = Loader::helper('form');
?>

<form method='post'
      action='<?= View::url('/login', 'authenticate', $this->getAuthenticationTypeHandle()) ?>'>
    <div class="form-group concrete-login">
        <span><?= t('Sign in with a local account.') ?> </span>
        <hr>
    </div>
    <div class="form-group">
        <input name="uName" class="form-control col-sm-12"
               placeholder="<?=USER_REGISTRATION_WITH_EMAIL_ADDRESS ? t('Email Address') : t('Username')?>" />
    </div>

    <div class="form-group">
        <label>&nbsp;</label>
        <input name="uPassword" class="form-control" type="password"
               placeholder="Password" />
    </div>

    <div class="checkbox">
        <label style="font-weight:normal">
            <input type="checkbox" name="uMaintainLogin" value="1">
            <?= t('Stay signed in for two weeks') ?>
        </label>
    </div>

    <?php
    if (isset($locales) && is_array($locales) && count($locales) > 0) {
        ?>
        <div class="form-group">
            <label for="USER_LOCALE" class="control-label"><?= t('Language') ?></label>
            <?= $form->select('USER_LOCALE', $locales) ?>
        </div>
    <?
    }
    ?>

    <div class="form-group">
        <button class="btn btn-primary"><?= t('Log in') ?></button>
        <a href="<?=View::url('/login', 'concrete', 'forgot_password')?>" class="btn pull-right"><?= t('Forgot Password') ?></a>
    </div>

    <?php Loader::helper('validation/token')->output('login_' . $this->getAuthenticationTypeHandle()); ?>
{'fraction_non_alphanumeric': 0.21398432790837854, 'fraction_numerical': 0.0030138637733574444, 'mean_word_length': 3.0036188178528347, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 98, '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': '6711080', 'n_tokens_mistral': 1041, 'n_tokens_neox': 1041, 'n_words': 208}