<commit_before><?php use Phalcon\Tag as Tag; ?>

<h1 class="page-header">Sign Up</h1>

<?if ($this->view->getVar('sign_up_enable')) {?>
<?=$this->partial('partials/messages')?>
<?=Tag::form(array($this->view->form->getAction())) ?>

	<div class="form-group">
		<label for="<?=$form->get('name')->getName()?>"><?=$form->get('name')->getLabel()?></label>
<?=$form->render('name') ?>
		<span class="help-block">
<?php
	if ($form->hasMessagesFor($form->get('name')->getName())) {
		echo $this->view->getVar('escaper')->escapeHtml($form->getMessagesFor($form->get('name')->getName())->offsetGet(0)->getMessage());
	}
?>
		</span>
	</div>

	<div class="form-group">
		<label for="<?=$form->get('email')->getName()?>"><?=$form->get('email')->getLabel()?></label>
<?=$form->render('email') ?>
		<span class="help-block">
<?php
	if ($form->hasMessagesFor($form->get('email')->getName())) {
		echo $this->view->getVar('escaper')->escapeHtml($form->getMessagesFor($form->get('email')->getName())->offsetGet(0)->getMessage());
	}
?>
		</span>
	</div>

	<div class="form-group">
		<label for="<?=$form->get('password')->getName()?>"><?=$form->get('password')->getLabel()?></label>
<?=$form->render('password') ?>
		<span class="help-block">
<?php
	if ($form->hasMessagesFor($form->get('password')->getName())) {
		echo $this->view->getVar('escaper')->escapeHtml($form->getMessagesFor($form->get('password')->getName())->offsetGet(0)->getMessage());
	}
?>
		</span>
	</div>

	<div class="form-group">
		<label for="<?=$form->get('confirmPassword')->getName()?>"><?=$form->get('confirmPassword')->getLabel()?></label>
		<?php echo $form->render('confirmPassword') ?>
		<span class="help-block">
<?php
	if ($form->hasMessagesFor($form->get('confirmPassword')->getName())) {
		echo $this->view->getVar('escaper')->escapeHtml($form->getMessagesFor($form->get('confirmPassword')->getName())->offsetGet(0)->getMessage());
	}
?>
		</span>
	</div>

	<div class="form-group">
		<label for="captcha">Captcha</label>
<?=$this->view->captcha->getHtml()?>
<?if ($this->view->captcha->getError()) {?>
		<span class="help-block">
<?=$this->view->captcha->getError()?>
		</span>
<? } ?>
	</div>

<?=$form->render('submit') ?>

<?=Tag::endForm ()?>

<? } else { ?>

<p>Sorry but at current time registration was closed. Please try to sign up later.</p>
<p>Thanks!</p>

<? } ?>
<commit_msg>GH107: Remove extra html characters in view/register Fixed comments for commit 0e986f37b3ee740cdb3b1efd9e024582e3a06142<commit_after><? use Phalcon\Tag as Tag; ?>

<h1 class="page-header">Sign Up</h1>

<?if ($this->view->getVar('sign_up_enable')) {?>
<?=$this->partial('partials/messages')?>
<?=Tag::form(array($this->view->form->getAction())) ?>

	<div class="form-group">
		<label for="<?=$form->get('name')->getName()?>"><?=$form->get('name')->getLabel()?></label>
<?=$form->render('name') ?>
		<span class="help-block">
<?
if ($form->hasMessagesFor($form->get('name')->getName())) {
	echo $this->view->getVar('escaper')->escapeHtml($form->getMessagesFor($form->get('name')->getName())->offsetGet(0)->getMessage());
}
?>
		</span>
	</div>

	<div class="form-group">
		<label for="<?=$form->get('email')->getName()?>"><?=$form->get('email')->getLabel()?></label>
<?=$form->render('email') ?>
		<span class="help-block">
<?
if ($form->hasMessagesFor($form->get('email')->getName())) {
	echo $this->view->getVar('escaper')->escapeHtml($form->getMessagesFor($form->get('email')->getName())->offsetGet(0)->getMessage());
}
?>
		</span>
	</div>

	<div class="form-group">
		<label for="<?=$form->get('password')->getName()?>"><?=$form->get('password')->getLabel()?></label>
<?=$form->render('password') ?>
		<span class="help-block">
<?
if ($form->hasMessagesFor($form->get('password')->getName())) {
	echo $this->view->getVar('escaper')->escapeHtml($form->getMessagesFor($form->get('password')->getName())->offsetGet(0)->getMessage());
}
?>
		</span>
	</div>

	<div class="form-group">
		<label for="<?=$form->get('confirmPassword')->getName()?>"><?=$form->get('confirmPassword')->getLabel()?></label>
<?=$form->render('confirmPassword') ?>
		<span class="help-block">
<?php
if ($form->hasMessagesFor($form->get('confirmPassword')->getName())) {
	echo $this->view->getVar('escaper')->escapeHtml($form->getMessagesFor($form->get('confirmPassword')->getName())->offsetGet(0)->getMessage());
}
?>
		</span>
	</div>

	<div class="form-group">
		<label for="captcha">Captcha</label>
<?=$this->view->captcha->getHtml()?>
<?if ($this->view->captcha->getError()) {?>
		<span class="help-block">
<?=$this->view->captcha->getError()?>
		</span>
<? } ?>
	</div>

<?=$form->render('submit') ?>

<?=Tag::endForm ()?>

<? } else { ?>

<p>Sorry but at current time registration was closed. Please try to sign up later.</p>
<p>Thanks!</p>

<? } ?>

{'fraction_non_alphanumeric': 0.29887218045112784, 'fraction_numerical': 0.00835421888053467, 'mean_word_length': 6.637958532695375, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 291, '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': '4867106', 'n_tokens_mistral': 1699, 'n_tokens_neox': 1666, 'n_words': 206}