title = 'Трудовой стаж'; $this->params[ 'breadcrumbs' ][] = $this->title; ?>
title ?>
Текущее место работы:
field($current, '[0]name') ->label('Название') ->textInput([ 'class' => 'custom-input-2' ]); ?>
field($current, '[0]link') ->label('Ссылка на компанию на сайте МФП') ->textInput([ 'class' => 'custom-input-2' ]); ?>
field($current, '[0]position') ->label('Должность') ->textInput([ 'class' => 'custom-input-2' ]); ?>
field ($current, '[0]date_start', ['options' => ['class' => 'test2class']]) ->label ('Дата начала работы') ->widget (DatePicker::className (), ['options' => ['class' => 'custom-input-2'], 'language' => 'ru', 'dateFormat' => 'dd-MM-yyyy', 'clientOptions' => ['changeYear' => true, 'yearRange' => 'c-20:c', 'changeMonth' => true]]); ?>
field ($current, '[0]total_count') ->label ('Количество проектов, в которых принимали участие') ->textInput (['class'=> 'custom-input-2 custom-input-2-date','type'=>'number']); ?>
field ($current, '[0]complete_count') ->label ('из них реализовано') ->textInput (['class'=> 'custom-input-2 custom-input-2-date','type'=>'number']); ?>
field($user_info, 'experience') ->label('Когда начали заниматься проектированием') ->input('number', [ 'class' => 'custom-input-2', 'min' => '1950', 'max' => date('Y') ]); ?>
Предыдущие места работы
$job_model) { ?>
field ($job_model, '['. ($index + 1) .']name') ->label ('Название') ->textInput (['class'=> 'custom-input-2']); ?>
field($job_model, '[' . ( $index + 1 ) . ']link') ->label('Ссылка на компанию на сайте МФП') ->textInput([ 'class' => 'custom-input-2' ]); ?>
field ($current, '[0]date_start') ->label ('Дата начала работы') ->widget (DatePicker::className (), ['options' => ['class' => 'custom-input-2'], 'language' => 'ru', 'dateFormat' => 'dd-MM-yyyy', 'clientOptions' => ['changeYear' => true, 'yearRange' => 'c-20:c', 'changeMonth' => true]]); ?>
field ($job_model, '['. ($index + 1) .']date_end') ->label ('Дата окончания работы') ->widget (DatePicker::className (), ['options' => ['class' => 'custom-input-2'], 'language' => 'ru', 'dateFormat' => 'dd-MM-yyyy', 'clientOptions' => ['changeYear' => true, 'yearRange' => 'c-20:c', 'changeMonth' => true]]); ?>
field ($job_model, '['. ($index + 1) .']position') ->label ('Должность') ->textInput (['class'=> 'custom-input-2']); ?>
field ($job_model, '['. ($index + 1) .']total_count') ->label ('Количество проектов, в которых принимали участие') ->textInput (['class'=> 'custom-input-2 custom-input-2-date','type'=>'number']); ?>
field ($job_model, '['. ($index + 1) .']complete_count') ->label ('из них реализовано') ->textInput (['class'=> 'custom-input-2 custom-input-2-date','type'=>'number']); ?>
'remove_job_button']) ?>
'add_job_button', 'class' => 'btn']); ?>
'input-blocks-wrapper button']) ?>
end (); ?>