<commit_before><h2><?php echo lang('us_login'); ?></h2>

<?php if (auth_errors() || validation_errors()) : ?>
<div class="notification error">
	<?php echo auth_errors() . validation_errors(); ?>
</div>
<?php endif; ?>

<?php echo form_open($this->uri->uri_string()); ?>

	<label for="email"><?php echo lang('bf_email'); ?></label>
	<input type="text" name="email" id="email"  value="<?php echo set_value('email'); ?>"  placeholder="email" />
	
	<?php if ( config_item('auth.login_type') !== 'email' OR config_item('auth.use_usernames') == 1:) ?>
		<label for="username"><?php echo lang('bf_username'); ?></label>
		<input type="text" name="username" id="username" value="<?php echo set_value('username') ?>" placeholder="username" />
	<?php endif; ?>
	<br/>
	<?php if (config_item('auth.use_usernames') == 2) : ?>
	<div>
		<label><?php echo lang('us_first_name'); ?></label>
		<input type="text" id="first_name" name="first_name" value="<?php echo set_value('first_name') ?>" />

		<label><?php echo lang('us_last_name'); ?></label>
		<input type="text" id="first_name" name="last_name" value="<?php echo set_value('last_name') ?>"  />
	</div>

	<?php endif; ?>	
	<div>
		<label for="password"><?php echo lang('bf_password'); ?></label>
		<input type="password" name="password" id="password" value="" placeholder="password" />
		<p class="small"><?php echo lang('us_password_mins'); ?></p>
	
		<label for="pass_confirm"><?php echo lang('bf_password_confirm'); ?></label>
		<input type="password" name="pass_confirm" id="pass_confirm" value="" placeholder="<?php echo lang('bf_password_confirm'); ?>" />
	</div>
	<div class="submits">
		<input type="submit" name="submit" id="submit" value="<?php echo lang('us_register'); ?>"  />	
	</div>

<?php echo form_close(); ?>

<p style="text-align: center">
	<?php echo lang('us_already_registered'); ?> <?php echo anchor('/login', lang('bf_action_login')); ?>
</p>
	
		<commit_msg>fixing slight error in the register form<commit_after><h2><?php echo lang('us_login'); ?></h2>

<?php if (auth_errors() || validation_errors()) : ?>
<div class="notification error">
	<?php echo auth_errors() . validation_errors(); ?>
</div>
<?php endif; ?>

<?php echo form_open($this->uri->uri_string()); ?>

	<label for="email"><?php echo lang('bf_email'); ?></label>
	<input type="text" name="email" id="email"  value="<?php echo set_value('email'); ?>"  placeholder="email" />
	
	<?php if ( config_item('auth.login_type') !== 'email' OR config_item('auth.use_usernames') == 1): ?>
		<label for="username"><?php echo lang('bf_username'); ?></label>
		<input type="text" name="username" id="username" value="<?php echo set_value('username') ?>" placeholder="username" />
	<?php endif; ?>
	<br/>
	<?php if (config_item('auth.use_usernames') == 2) : ?>
	<div>
		<label><?php echo lang('us_first_name'); ?></label>
		<input type="text" id="first_name" name="first_name" value="<?php echo set_value('first_name') ?>" />

		<label><?php echo lang('us_last_name'); ?></label>
		<input type="text" id="first_name" name="last_name" value="<?php echo set_value('last_name') ?>"  />
	</div>

	<?php endif; ?>	
	<div>
		<label for="password"><?php echo lang('bf_password'); ?></label>
		<input type="password" name="password" id="password" value="" placeholder="password" />
		<p class="small"><?php echo lang('us_password_mins'); ?></p>
	
		<label for="pass_confirm"><?php echo lang('bf_password_confirm'); ?></label>
		<input type="password" name="pass_confirm" id="pass_confirm" value="" placeholder="<?php echo lang('bf_password_confirm'); ?>" />
	</div>
	<div class="submits">
		<input type="submit" name="submit" id="submit" value="<?php echo lang('us_register'); ?>"  />	
	</div>

<?php echo form_close(); ?>

<p style="text-align: center">
	<?php echo lang('us_already_registered'); ?> <?php echo anchor('/login', lang('bf_action_login')); ?>
</p>
	
		
{'fraction_non_alphanumeric': 0.23638709677419356, 'fraction_numerical': 0.002064516129032258, 'mean_word_length': 6.272045028142589, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 125, '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': '3521699', 'n_tokens_mistral': 1331, 'n_tokens_neox': 1316, 'n_words': 290}