title = 'Услуги'; $this->params[ 'breadcrumbs' ][] = $this->title; ?>
title ?> Рекомендуем детально заполнить для исполнителя. Это сильно влияет на количество заказов.
field($user_info, 'salary', [ 'template' => "{label}
от{input}\n{hint}\n{error}", 'options' => [ 'class' => 'form-inline' ], ]) ->label('Стоимость работ') ->textInput (['class'=> 'custom-input-2 custom-input-2-date','type'=>'number']); ?>
field($user_info, 'salary_currency', [ 'template' => "{input}за час\n{hint}\n{error}", ]) ->label(false) ->dropDownList(Currency::getCurrencyDropdown()); ?>
Необходимо выбрать хотя бы одну «специализацию».
field($user_info, 'geographies') ->widget(Select2::classname(), [ 'options' => [ 'placeholder' => 'Выбор города ...', 'multiple' => true, ], 'pluginOptions' => [ 'allowClear' => true, 'minimumInputLength' => 3, 'ajax' => [ 'url' => \yii\helpers\Url::to([ 'site/city' ]), 'dataType' => 'json', 'data' => new JsExpression('function(params) { return {q:params.term}; }'), ], 'escapeMarkup' => new JsExpression('function (markup) { return markup; }'), 'templateResult' => new JsExpression('function(city) { return city.text; }'), 'templateSelection' => new JsExpression('function (city) { return city.text; }'), ], ]); ?>
field($user_info, 'guarantee', [ 'template' => "{label}
{input}лет\n{hint}\n{error}", 'options' => [ 'class' => 'form-inline' ], ]) ->label('Гарантия качества работ') ->textInput([ 'class' => 'custom-input-2 custom-input-2-date custom-input-2-margin-r', 'type' => 'number', ]) ?>
field($user_info, 'contract', [ 'template' => "{label}
{input}\n{hint}\n{error}", 'options' => [ 'class' => 'form-inline' ], ]) ->textInput([ 'class' => 'custom-input-2 custom-input-2-margin-r', ]) ?>
field($user_info, 'estimate', [ 'template' => "{label}
{input}\n{hint}\n{error}", 'options' => [ 'class' => 'form-inline' ], ]) ->textInput([ 'class' => 'custom-input-2 custom-input-2-margin-r', ]) ?>
field($user_info, 'purchase', [ 'template' => "{label}
{input}\n{hint}\n{error}", 'options' => [ 'class' => 'form-inline' ], ]) ->textInput([ 'class' => 'custom-input-2 custom-input-2-margin-r', ]) ?>
field($user_info, 'delivery', [ 'template' => "{label}
{input}\n{hint}\n{error}", 'options' => [ 'class' => 'form-inline' ], ]) ->textInput([ 'class' => 'custom-input-2 custom-input-2-margin-r', ]) ?>
field($user_info, 'prepayment', [ 'template' => "{label}
{input}%\n{hint}\n{error}", 'options' => [ 'class' => 'form-inline' ], ]) ->label('Минимальная предоплата за работы') ->textInput([ 'class' => 'custom-input-2 custom-input-2-date custom-input-2-margin-r', 'type' => 'number', ]) ?>
field($user, 'paymentInput', [ 'template' => "{label}\n{input}\n{error}" ]) ->label('Способы оплаты') ->checkboxList($payment, [ 'item' => function($index, $label, $name, $checked, $value) { $return = '
'; $return .= ''; $return .= ''; $return .= '
'; return $return; }, ]) ?>
end(); ?>