<commit_before><?php
	$b = $block['Block'];
	$class = 'block block-' . $b['alias'];
	if ($block['Block']['class'] != null) {
		$class .= ' ' . $b['class'];
	}
?>
<div id="block-<?php echo $b['id']; ?>" class="<?php echo $class; ?>">
<?php if ($b['show_title'] == 1) { ?>
	<h3><?php echo $b['title']; ?></h3>
<?php } ?>
	<div class="block-body">
		<form id="searchform" method="post" action="javascript: document.location.href=''+Croogo.basePath+'search/q:'+encodeURI($('#searchform #q').val());">
		<?php
			$qValue = null;
			if (isset($this->params['named']['q'])) {
				$qValue = $this->params['named']['q'];
			}
			echo $this->Form->input('q', array(
				'label' => false,
				'name' => 'q',
				'value' => $qValue,
			));
			echo $this->Form->button(__d('croogo', 'Search'));
		?>
		</form>
	</div>
</div><commit_msg>Remove all block related markup to avoid duplication<commit_after><form id="searchform" method="post" action="javascript: document.location.href=''+Croogo.basePath+'search/q:'+encodeURI($('#searchform #q').val());">
<?php
	$qValue = null;
	if (isset($this->params['named']['q'])) {
		$qValue = $this->params['named']['q'];
	}
	echo $this->Form->input('q', array(
		'label' => false,
		'name' => 'q',
		'value' => $qValue,
	));
	echo $this->Form->button(__d('croogo', 'Search'));
?>
</form>
{'fraction_non_alphanumeric': 0.28810975609756095, 'fraction_numerical': 0.0022865853658536584, 'mean_word_length': 4.861607142857143, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 39, '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': '5200136', 'n_tokens_mistral': 521, 'n_tokens_neox': 487, 'n_words': 90}