Your IP : 216.73.216.79


Current Path : /var/www/html/crm/views/salesfunnel/
Upload File :
Current File : /var/www/html/crm/views/salesfunnel/_search.php

<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\models\ParamList;
use yii\helpers\ArrayHelper;

$ParamList = new ParamList();
$this->registerCss(".form-search .form-control{margin:0;}");
$this->registerCss(".topsection-search label{margin-right:1em;}#salesfunnelsearch-title{width:300px;}");
?>
<div class="topsection-search mt-4 mb-4">
    <?php $form = ActiveForm::begin(['action' => ['index'], 'method' => 'get', 'options' => ['class' => 'form-inline form-search']]); ?>
    <?= $form->field($model, 'title')->textInput(['class' => 'form-control mr-3', 'placeholder' => 'Project Title'])->label(false); ?>
    <?=
    $form->field($model, 'status')->dropDownList($ParamList->getparamlist(44), [
        'class' => 'form-control kt-selectpicker mr-3',
        'data-width' => '300px',
        'prompt' => '-- Select status --', 'data-live-search' => 'true'])->label(false);
    ?>
    <div class="form-group">
        &nbsp;&nbsp;<?= Html::submitButton('Search', ['class' => 'btn btn-brand']) ?>
        &nbsp;&nbsp;<?= Html::a('Reset', ['index'], ['class' => 'btn btn-outline-brand']) ?>
        &nbsp;&nbsp;<?= Html::a('Add ' . $this->title, ['create'], ['class' => 'btn btn-brand']) ?>
    </div>
    <?php ActiveForm::end(); ?>
</div>