<?php

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

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

<div class="box box-success">
    <div class="box-body">
    <?php $form = ActiveForm::begin(); ?>

<!--    --><?//= $form->field($model, 'user_id')->textInput() ?>

<!--    --><?//= $form->field($model, 'poiname')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'poiaddress')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'lng')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'lat')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'nation')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'province')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'city')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'district')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'street')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'street_number')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'remark')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'status')->textInput() ?>

<!--    --><?//= $form->field($model, 'circle_id')->textInput() ?>

    <?= $form->field($model, 'content')->textarea(['rows' => 6]) ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? Yii::t('common', 'Create') : Yii::t('common', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success btn-flat' : 'btn btn-primary btn-flat']) ?>
    </div>

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