echo $form->field($model, 'website')->textInput(['maxlength' => 255]);
?>
<?php
echo $form->field($model, 'place_type')->dropDownList($model->getPlaceTypeOptions(), ['prompt' => 'What type of place is this?'])->label('Type of Place');
?>
<?php
echo $form->field($model, 'notes')->textArea();
?>
<?php
echo BaseHtml::activeHiddenInput($model, 'lat');
?>
<?php
echo BaseHtml::activeHiddenInput($model, 'lng');
?>
<div class="form-group">
<?php
echo Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);
?>
</div>
</div> <!-- end col 1 --><div class="col-md-6">
<div id="preSearch" class="center">
<p><br /></p> <?php
echo Html::a('Lookup Location', ['lookup'], ['class' => 'btn btn-success', 'onclick' => "javascript:beginSearch();return false;"]);
?>
</div>