<commit_before>
<div id="login" class="login_box">
	<% form_tag(login_users_path, :class => 'form') do %>
		<p>
			<label>Username</label>
			<%= text_field_tag 'username', '', :class => :text %>
		</p>
		<p>
			<label>Password</label>
			<%= password_field_tag 'password', '', :class => :text %>
		</p>
		<p>
			<%= submit_tag "Login" %>
		</p>
	<% end %>
</div>

<div id="password-reminder" class="login_box">
	<% form_tag(forgot_password_users_path, :class => 'form') do %>
		<p>Enter your email address, and we'll send you a new password.</p>
		<p>
			<label>Email</label>
			<%= text_field_tag 'email', '', :class => :text %>
			<p>
				<%= submit_tag "Send" %>
			</p>
		</p>
	<% end %>
</div>

<div id="login-functions">
	<p>
		<%= link_to_function "Password reminder", "forgot_password();" %> 
		<span class="separator">|</span>
		<%= link_to "Use regular site" %>
	</p>
</div>


<script type="text/javascript">
	Element.hide('password-reminder');
	function forgot_password() {
		Element.toggle('login');
		Element.toggle('password-reminder');
	}
</script><commit_msg>Fixed regular site link on front page<commit_after>
<div id="login" class="login_box">
	<% form_tag(login_users_path, :class => 'form') do %>
		<p>
			<label>Username</label>
			<%= text_field_tag 'username', '', :class => :text %>
		</p>
		<p>
			<label>Password</label>
			<%= password_field_tag 'password', '', :class => :text %>
		</p>
		<p>
			<%= submit_tag "Login" %>
		</p>
	<% end %>
</div>

<div id="password-reminder" class="login_box">
	<% form_tag(forgot_password_users_path, :class => 'form') do %>
		<p>Enter your email address, and we'll send you a new password.</p>
		<p>
			<label>Email</label>
			<%= text_field_tag 'email', '', :class => :text %>
			<p>
				<%= submit_tag "Send" %>
			</p>
		</p>
	<% end %>
</div>

<div id="login-functions">
	<p>
		<%= link_to_function "Password reminder", "forgot_password();" %> 
		<span class="separator">|</span>
		<%= link_to "Regular site", :iphone_format => 'html' %>
	</p>
</div>


<script type="text/javascript">
	Element.hide('password-reminder');
	function forgot_password() {
		Element.toggle('login');
		Element.toggle('password-reminder');
	}
</script>
{'fraction_non_alphanumeric': 0.22202001819836215, 'fraction_numerical': 0.0, 'mean_word_length': 4.125874125874126, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 96, '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': '1341895', 'n_tokens_mistral': 943, 'n_tokens_neox': 825, 'n_words': 170}