<commit_before><?php
/**
 * @version        $Id$
 * @package        Nooku_Server
 * @subpackage     Articles
 * @copyright      Copyright (C) 2009 - 2012 Timble CVBA and Contributors. (http://www.timble.net)
 * @license        GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link           http://www.nooku.org
 */
defined('KOOWA') or die('Restricted access');
?>

<div class="page-header">
    <h1><?=@text('Password reset request');?></h1>
</div>

<p><?= @text('RESET_PASSWORD_REQUEST_DESCRIPTION');?></p>
<form action="" method="post" class="-koowa-form form-horizontal">
    <div class="control-group">
        <label class="control-label" for="email"><?= @text('E-mail') ?></label>

        <div class="controls">
            <input type="text" id="email" name="email" placeholder="E-mail"/>
        </div>
    </div>
    <div class="form-actions">
        <button type="submit" class="btn btn-primary"><?=@text('Submit');?></button>
    </div>
    <input type="hidden" name="action" value="token"/>
</form><commit_msg>Added JS validation.<commit_after><?php
/**
 * @version        $Id$
 * @package        Nooku_Server
 * @subpackage     Articles
 * @copyright      Copyright (C) 2009 - 2012 Timble CVBA and Contributors. (http://www.timble.net)
 * @license        GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link           http://www.nooku.org
 */
defined('KOOWA') or die('Restricted access');
?>

<?=@helper('behavior.mootools')?>
<?=@helper('behavior.validator')?>

<div class="page-header">
    <h1><?=@text('Password reset request');?></h1>
</div>

<p><?= @text('RESET_PASSWORD_REQUEST_DESCRIPTION');?></p>
<form action="" method="post" class="-koowa-form form-horizontal">
    <div class="control-group">
        <label class="control-label" for="email"><?= @text('E-mail') ?></label>

        <div class="controls">
            <input class="required validate-email" type="text" id="email" name="email" placeholder="E-mail"/>
        </div>
    </div>
    <div class="form-actions">
        <button type="submit" class="btn btn-primary"><?=@text('Submit');?></button>
    </div>
    <input type="hidden" name="action" value="token"/>
</form>
{'fraction_non_alphanumeric': 0.21458237194277804, 'fraction_numerical': 0.01015228426395939, 'mean_word_length': 3.4979253112033195, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '1562428', 'n_tokens_mistral': 726, 'n_tokens_neox': 714, 'n_words': 141}