コード例 #1
0
ファイル: _menu_srch.php プロジェクト: cakpep/spk-tht
    </div>
    <div class="col-sm-2">
    <?php 
echo Html::textInput("srch_all", "", ['placeholder' => "Cari...", 'onkeyup' => '
                                                            $.pjax.reload({
                                                                url: "' . Url::to(['index']) . '?UserProfilSearch[srch_all]="+$(this).val(),
                                                                container: "#user-profil-gridview",
                                                                timeout: 1000,
                                                            });
                                                            ', 'class' => 'form-control']);
?>
    </div>        
    <div class="col-sm-2">
        
    <?php 
echo Html::dropDownList('status', null, \common\models\UserProfil::listAgama(), ['prompt' => '- Cari Agama', 'onchange' => '
                                                            $.pjax.reload({
                                                                url: "' . Url::to(['index']) . '?UserProfilSearch[agama_id]="+$(this).val(),
                                                                container: "#user-profil-gridview",
                                                                timeout: 1000,
                                                            });
                                                            ', 'class' => 'form-control']);
?>
    </div>
    <div class="col-sm-2">
        
    <?php 
$data = array(10 => 'Aktif', 0 => 'Tidak Aktif');
?>

    <?php