field($model, 'road_id') ->dropDownList($roads) ?> field($model, 'region_id') ->dropDownList($regions) ?> field($model, 'service_object_type_id') ->dropDownList($service_object_types) ?> field($model, 'settlement_id') ->dropDownList($settlements, ['prompt' => 'Нет']) ?> field($model, 'department_affiliation_id') ->dropDownList($department_affiliations) ?> field($model, 'location_right') ->textInput() ?> field($model, 'location_left') ->textInput() ?> field($model, 'location_axis') ->textInput() ?> field($model, 'distance') ->textInput() ?> field($model, 'capacity') ->textInput() ?> field($model, 'arrangement_elements') ->textarea([ 'rows' => 6 ]) ?>
isNewRecord ? 'Create' : 'Update', [ 'class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary' ]) ?>