<commit_before><?php
if (!isset($url)) {
	$url = array_merge(
		array('action' => 'index'), $this->request->params['pass']
	);
}
?>
<div class="row-fluid">
	<div class="span12">
		<div class="clearfix filter">
			<?php
			echo $this->Form->create('Node', array(
				'class' => 'inline',
				'url' => $url,
			));

			echo $this->Form->input('filter', array(
				'label' => false,
				'title' => __('Search'),
				'placeholder' => __('Search...'),
				'div' => 'input text span3',
				'class' => 'span11',
				'tooltip' => false,
			));

			echo $this->Form->input('type', array(
				'label' => false,
				'options' => $nodeTypes,
				'empty' => __('Type'),
				'div' => 'input select span2',
				'class' => 'span11'
			));

			echo $this->Form->input('status', array(
				'label' => false,
				'options' => array(
					'1' => __('Published'),
					'0' => __('Unpublished'),
				),
				'empty' => __('Status'),
				'div' => 'input select span2',
				'class' => 'span11'
			));

			echo $this->Form->input('promote', array(
				'label' => false,
				'options' => array(
					'1' => __('Yes'),
					'0' => __('No'),
				),
				'empty' => __('Promoted'),
				'div' => 'input select span2',
				'class' => 'span11'
			));
			echo $this->Form->submit(__('Filter'), array('class' => 'btn',
				'div' => 'input submit span2'
			));
			echo $this->Form->end();
			?>
		</div>
	</div>
</div><commit_msg>use FormHelper::inputDefaults + remove attributes<commit_after><?php
if (!isset($url)) {
	$url = array_merge(
		array('action' => 'index'), $this->request->params['pass']
	);
}
?>
<div class="row-fluid">
	<div class="span12">
		<div class="clearfix filter">
			<?php
			echo $this->Form->create('Node', array(
				'class' => 'inline',
				'url' => $url,
			));

			$this->Form->inputDefaults(array(
				'label' => false,
				'class' => 'span11',
			));

			echo $this->Form->input('filter', array(
				'title' => __('Search'),
				'placeholder' => __('Search...'),
				'div' => 'input text span3',
				'tooltip' => false,
			));

			echo $this->Form->input('type', array(
				'options' => $nodeTypes,
				'empty' => __('Type'),
				'div' => 'input select span2',
			));

			echo $this->Form->input('status', array(
				'options' => array(
					'1' => __('Published'),
					'0' => __('Unpublished'),
				),
				'empty' => __('Status'),
				'div' => 'input select span2',
			));

			echo $this->Form->input('promote', array(
				'options' => array(
					'1' => __('Yes'),
					'0' => __('No'),
				),
				'empty' => __('Promoted'),
				'div' => 'input select span2',
			));
			echo $this->Form->submit(__('Filter'), array('class' => 'btn',
				'div' => 'input submit span2'
			));
			echo $this->Form->end();
			?>
		</div>
	</div>
</div>
{'fraction_non_alphanumeric': 0.258702821546354, 'fraction_numerical': 0.011725906925613778, 'mean_word_length': 2.991228070175439, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 107, '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': '3394318', 'n_tokens_mistral': 1239, 'n_tokens_neox': 980, 'n_words': 203}