<?php

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

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

<div class="locations-form">

        <?php $form = ActiveForm::begin(); ?>

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

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

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

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

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

    <?= $form->field($model, 'website')->textInput(['maxlength' => 256]) ?>
    <?= $form->field($model, 'preference')->dropDownList(['High' => 'High', 'medium' => 'Medium', 'Low' => 'low']); ?>


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



   

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

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

</div>

