<commit_before><?php use Zend\Form\Element; ?>

<?php $params = ($this->params) ?: []; ?>

<?php
$select = new Element\Select('count');
$select->setValueOptions(array(
	'25'  => '25',
	'50'  => '50',
	'75'  => '75',
	'100' => '100'
));
$select->setValue((isset($params['count'])) ? $params['count'] : 25 );
$select->setAttribute('class', 'form-control');
?>


    <div class="dropdown pull-right">
        <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown">
            Actions
            <span class="caret"></span>
        </button>
        
        <?=$this->uthandoNavigation('UthandoAdmin\Navigation')
                ->uthandoTbMenu()
                ->setUlClass('dropdown-menu')
                ->setOnlyActiveBranch(true)
                ->setRenderParents(false);
        ?>
    </div>


<form id="search-<?=$this->name;?>" class="form-inline" method="post">
	<?php foreach($this->searchInputs as $label => $input):?>
	<div class="form-group">
	   <?php if ($input instanceof Element): ?>
	       <?php $value = (isset($params[$input->getName()])) ? $params[$input->getName()] : null; ?>
	       <?=$this->formElement($input->setAttributes([
	           //'class' => 'form-control',
	           'value' => $value
	       ]))?>
	   <?php else: ?>
	       <?php $value = (isset($params[$input])) ? $params[$input] : null; ?>
	       <input type="text" class="form-control" name="<?=$input;?>" placeholder="<?=ucwords($label)?>:" value="<?=$value;?>">
       <?php endif; ?>
    </div>
    
	<?php endforeach;?>
	<div class="form-group"><commit_msg>added paritial option to menu<commit_after><?php 
use Zend\Form\Element;

$params = ($this->params) ?: []; 

$select = new Element\Select('count');
$select->setValueOptions(array(
	'25'  => '25',
	'50'  => '50',
	'75'  => '75',
	'100' => '100'
));
$select->setValue((isset($params['count'])) ? $params['count'] : 25 );
$select->setAttribute('class', 'form-control');

$menu = $this->uthandoNavigation('UthandoAdmin\Navigation')
    ->uthandoTbMenu()
    ->setUlClass('dropdown-menu')
    ->setOnlyActiveBranch(true)
    ->setRenderParents(false);

if ($this->menuPartial) {
    $menu->setPartial($this->menuPartial);
}

?>
<div class="dropdown pull-right">
    <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown">
        Actions
        <span class="caret"></span>
    </button>
    <?=$menu;?>
</div>

<form id="search-<?=$this->name;?>" class="form-inline" method="post">
	<?php foreach($this->searchInputs as $label => $input):?>
	<div class="form-group">
	   <?php if ($input instanceof Element): ?>
	       <?php $value = (isset($params[$input->getName()])) ? $params[$input->getName()] : null; ?>
	       <?=$this->formElement($input->setAttributes([
	           //'class' => 'form-control',
	           'value' => $value
	       ]))?>
	   <?php else: ?>
	       <?php $value = (isset($params[$input])) ? $params[$input] : null; ?>
	       <input type="text" class="form-control" name="<?=$input;?>" placeholder="<?=ucwords($label)?>:" value="<?=$value;?>">
       <?php endif; ?>
    </div>
    
	<?php endforeach;?>
	<div class="form-group">
{'fraction_non_alphanumeric': 0.23661270236612703, 'fraction_numerical': 0.013075965130759652, 'mean_word_length': 3.4501385041551247, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 102, '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': '1675742', 'n_tokens_mistral': 1079, 'n_tokens_neox': 1038, 'n_words': 186}