<commit_before>{% extends 'base.html' %}

{% block header %}
Register on FairbanksNano
{% endblock header %}

{% block content %}
<div class="row">
	<div class="large-6 columns">
		<div class="signup-panel">
			<form action="" method="post">
				{% csrf_token %}
				<div class="row collapse">
					<div class="small-2  columns">
						<span class="prefix"><i class="fi-torso-female"></i></span>
					</div>
					<div class="small-10  columns {% if form.username.errors %}error{% endif %}">
						{{ form.username }}
						{% if form.username.errors %}<small class="error">{{ form.username.errors }}</small>{% endif %}
					</div>
				</div>
				<div class="row collapse">
					<div class="small-2 columns">
						<span class="prefix"><i class="fi-mail"></i></span>
					</div>
					<div class="small-10  columns {% if form.email.errors %}error{% endif %}">
						{{ form.email }}
						{% if form.email.errors %}<small class="error">{{ form.email.errors }}</small>{% endif %}
					</div>
				</div>
				<div class="row collapse">
					<div class="small-2 columns ">
						<span class="prefix"><i class="fi-lock"></i></span>
					</div>
					<div class="small-10  columns {% if form.password.errors %}error{% endif %}">
						{{ form.password }}
						{% if form.password.errors %}<small class="error">{{ form.password.errors }}</small>{% endif %}
					</div>
				</div>
				<div class="row collapse">
					<div class="small-2 columns ">
						<span class="prefix"><i class="fi-lock"></i></span>
					</div>
					<div class="small-10  columns {% if form.password_confirm.errors %}error{% endif %}">
						{{ form.password_confirm }}
						{% if form.password_confirm.errors %}<small class="error">{{ form.password_confirm.errors }}</small>{% endif %}<commit_msg>Display password policy on registration page<commit_after>{% extends 'base.html' %}

{% block header %}
Register on FairbanksNano
{% endblock header %}

{% block content %}
<div class="row">
	<div class="large-6 columns">
		<div class="signup-panel">
			<form action="" method="post">
				{% csrf_token %}
				<div class="row collapse">
					<div class="small-2  columns">
						<span class="prefix"><i class="fi-torso-female"></i></span>
					</div>
					<div class="small-10  columns {% if form.username.errors %}error{% endif %}">
						{{ form.username }}
						{% if form.username.errors %}<small class="error">{{ form.username.errors }}</small>{% endif %}
					</div>
				</div>
				<div class="row collapse">
					<div class="small-2 columns">
						<span class="prefix"><i class="fi-mail"></i></span>
					</div>
					<div class="small-10  columns {% if form.email.errors %}error{% endif %}">
						{{ form.email }}
						{% if form.email.errors %}<small class="error">{{ form.email.errors }}</small>{% endif %}
					</div>
				</div>
				<div class="row collapse">
					<div class="small-12  columns">
						Your password must:
						<ol>
							<li>Be at least 8 characters long</li>
							<li>Contain at least 2 of: Upper-case letters, lower-case letters, numbers, or punctuation</li>
							<li>Not contain your username</li>
						</ol>
					</div>
				</div>
				<div class="row collapse">
					<div class="small-2 columns ">
						<span class="prefix"><i class="fi-lock"></i></span>
					</div>
					<div class="small-10  columns {% if form.password.errors %}error{% endif %}">
						{{ form.password }}
						{% if form.password.errors %}<small class="error">{{ form.password.errors }}</small>{% endif %}
					</div>
				</div>
				<div class="row collapse">
					<div class="small-2 columns ">
						<span class="prefix"><i class="fi-lock"></i></span>
					</div>
					<div class="small-10  columns {% if form.password_confirm.errors %}error{% endif %}">
						{{ form.password_confirm }}
						{% if form.password_confirm.errors %}<small class="error">{{ form.password_confirm.errors }}</small>{% endif %}
{'fraction_non_alphanumeric': 0.2038085434894493, 'fraction_numerical': 0.007720020586721565, 'mean_word_length': 3.091578947368421, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 115, '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': '2551377', 'n_tokens_mistral': 1651, 'n_tokens_neox': 1202, 'n_words': 298}