<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\CitySearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="city-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>

    <?= $form->field($model, 'id_city') ?>

    <?= $form->field($model, 'zip') ?>

    <?= $form->field($model, 'name') ?>

    <?= $form->field($model, 'city_code') ?>

    <?= $form->field($model, 'latitude') ?>

    <?php // echo $form->field($model, 'longitude') ?>

    <?php // echo $form->field($model, 'cso_code') ?>

    <?php // echo $form->field($model, 'rig_id') ?>

    <?php // echo $form->field($model, 'range') ?>

    <?php // echo $form->field($model, 'population') ?>

    <?php // echo $form->field($model, 'homes') ?>

    <div class="form-group">
        <?= Html::submitButton(Yii::t('common/city', 'Search'), ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton(Yii::t('common/city', 'Reset'), ['class' => 'btn btn-default']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
