<commit_before><div id="login">
    <div class="center-box">
        <div class="logo-box">
            <a href="">
                <img src="img/logo.png"></img>
            </a>
        </div>
        <div class="form-container">
            <form id="register-form" method="post" action=""  >
                <fieldset>
                    <div class="form-field">
                        <label>Username</label>
                        <input type="text" ng-model="form.username" />
                    </div>
                    <div class="form-field">
                        <label>First name</label>
                        <input type="text" ng-model="form.first_name" />
                    </div>
                    <div class="form-field">
                        <label>Last name</label>
                        <input type="text" ng-model="form.last_name" />
                    </div>
                    <div class="form-field">
                        <label>Email</label>
                        <input type="email" ng-model="form.email" />
                    </div>

                    <div class="form-field">
                        <label>Password</label>
                        <input type="password" ng-model="form.password" />
                    </div>
                    <div class="form-field">
                        <label>Password again</label>
                        <input type="password" />
                    </div>
                    <div class="form-field">
                        <input class="btn01" type="submit" value="Register" />
                        <span class="ajax-loader"></span>
                    </div>
                </fieldset>
            </form>
        </div>
    </div>
</div><commit_msg>Add register form validation.<commit_after><div id="login">
    <div class="center-box">
        <div class="logo-box">
            <a href="">
                <img src="img/logo.png"></img>
            </a>
        </div>
        <div class="form-container">
            <form id="register-form" method="post" action="" ui-parsley="submit()" >
                <fieldset>
                    <div class="form-field">
                        <label>Username</label>
                        <input type="text" ng-model="form.username" data-required="true" data-minlength="3" />
                    </div>
                    <div class="form-field">
                        <label>First name</label>
                        <input type="text" ng-model="form.first_name" data-required="true" />
                    </div>
                    <div class="form-field">
                        <label>Last name</label>
                        <input type="text" ng-model="form.last_name" data-required="true" />
                    </div>
                    <div class="form-field">
                        <label>Email</label>
                        <input type="email" ng-model="form.email" data-required="true" />
                    </div>

                    <div class="form-field">
                        <label>Password</label>
                        <input type="password" id="<PASSWORD>" ng-model="form.password" data-required="true" data-minlength="8"  />
                    </div>
                    <div class="form-field">
                        <label>Password again</label>
                        <input type="password" data-required="true" data-minlength="8" data-equalto="<PASSWORD>" />
                    </div>
                    <div class="form-field">
                        <input class="btn01" type="submit" value="Register" />
                    </div>
                </fieldset>
            </form>
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.14676683659779985, 'fraction_numerical': 0.0018781862087469815, 'mean_word_length': 1.0920314253647587, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, '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': '7217461', 'n_tokens_mistral': 962, 'n_tokens_neox': 893, 'n_words': 166}