<?php
$this->searchShowLabel = false;

$typesArray = HApartment::getTypesArray();
$searchUrl = isset($this->aData['searchUrl']) ? $this->aData['searchUrl'] : Yii::app()->controller->createUrl('/quicksearch/main/mainsearch');
?>

<form id="search-form" class="forma" action="<?php echo $searchUrl; ?>" method="get">

    <div class="search_content">
        <div class="index-header-form" id="search_form">
            <?php $this->renderPartial('//site/_search_form', array('isInner' => 0)); ?>
        </div>
        <div class="btn-search">
            <?php if (0) { ?>
                <div class="btn-search-bl more_bl_a">
                    <a id="more-options-link" href="javascript:;" class=" more_search next slow">
                        <span><?php echo tc('More options'); ?></span>
                    </a>
                </div>
            <?php } ?>
            <div class="btn-search-bl">
                <a id="btnleft" href="javascript: void(0);" onclick="doSearchAction();"
                   class="btn btn-primary btn-lg search_btn slow">
                    <i class="fas fa-search"></i> <?php echo tc('Search'); ?>
                </a>
            </div>
        </div>
    </div>

</form>

<?php $this->renderPartial('//site/search/_search_js', ['isInner' => 0]); ?>



