title = 'Учетные данные'; $this->params['breadcrumbs'][] = $this->title; ?>
title ?>
field($user, 'isPerformer', [ 'template' => "{input}\n{label}\n{error}" ]) ->label('Я - исполнитель') ->checkbox([ 'class' => 'custom-check disabled admin-check', 'disabled' => 'disabled', ], false); ?>
Обязательно должны быть указаны специализации услуг, что бы вы попали в рейтинг исполнителей
field($user, 'isCustomer', [ 'template' => "{input}\n{label}\n{error}" ]) ->label('Я - заказчик') ->checkbox([ 'class' => 'custom-check disabled admin-check', 'disabled' => 'disabled', ], false); ?>
Обязательно должны быть созданы проекты вами, что бы вы попали в рейтинг исполнителей
Кто вы:
field ($user, 'type') ->label (false) ->radioList ( [1 => 'Частное лицо', 2 => 'Компания'], [ 'item' => function($index, $label, $name, $checked, $value) { $return = '
'; $return .= ''; $return .= ''; $return .= '
'; return $return; } ] ); ?>
field ($company_info, 'name', ['options' => ['class' => 'form-group company_info']]) ->label ('Название компании') ->textInput (['class'=> 'custom-input-2']); ?>
field ($company_info, 'staff', ['options' => ['class' => 'form-group company_info']]) ->label ('Количество сотрудников') ->textInput (['class'=> 'custom-input-2','type'=>'number']); ?>
field ($user, 'firstname') ->label ('Имя') ->textInput (['class'=> 'custom-input-2']); ?>
field ($user, 'lastname') ->label ('Фамилия') ->textInput (['class'=> 'custom-input-2']); ?>
field ($user_info, 'country') ->label ('Ваша страна') ->textInput (['class'=> 'custom-input-2']); ?>
field ($user_info, 'city') ->label ('Ваш город') ->textInput (['class'=> 'custom-input-2']); ?>
field ($company_info, 'street', ['options' => ['class' => 'form-group company_info']]) ->label ('Улица') ->textInput (['class'=> 'custom-input-2']); ?>
field ($company_info, 'house', ['options' => ['class' => 'form-group company_info']]) ->label ('Дом') ->textInput (['class'=> 'custom-input-2']); ?>
field ($user, 'email') ->label ('Email') ->textInput (['class'=> 'custom-input-2','disabled' => 'disabled']); ?> field ($company_info, 'hide_mail', ['options' => ['class' => 'form-group company_info'], 'template' => "{input}{label}\n{hint}\n{error}"]) ->label ('Не публиковать Email') ->checkbox (['checked'=>'checked'], false); ?>
field ($user_info, 'busy') ->label ('Статус') ->radioList ([0 => 'Свободен', 1 => 'Занят']); ?> field ($user_info, 'member') ->label ('Членство в МФП') ->hint ('Выберите если хотите стать членом МФП и наш менеджер свяжется с Вами.') ->radioList ([0 => 'Не хочу', 1 => 'Хочу стать']); ?> $user_info, 'field'=>'image', 'width'=>100, 'height'=>100, 'multi'=>false, 'gallery' =>$user_info->image, 'name' => 'Загрузить аватар' ]); ?> $user_info, 'field'=>'poster', 'width'=>1200, 'height'=>600, 'multi'=>false, 'gallery' =>$user_info->poster, 'name' => 'Загрузить постер' ]); ?>
'input-blocks-wrapper button']); $form->end (); ?>