= \Html::select(
array(
'class' => 'form-edit',
'label' => 'Czy posiada doświadczenie?',
'id' => 'inexperience',
'values' => [ 0 => 'tak', 1 => 'nie' ],
'value' => $this -> candidate['inexperience'],
'params' => [
'table' => 'globelus_candidates_data',
'column_id' => 'id',
'row_id' => $this -> candidate['data_id'],
'column' => 'inexperience',
'operation' => 'insert_update',
'values' => 'user_id;' . $this -> candidate['id']
]
)
);?>
= \Html::select(
array(
'class' => 'form-edit',
'label' => 'Dostępność',
'id' => 'status_of_availability',
'values' => \front\factory\Globelus::availability_status(),
'value' => $this -> candidate['status_of_availability'],
'params' => [
'table' => 'globelus_candidates_data',
'column_id' => 'id',
'row_id' => $this -> candidate['data_id'],
'column' => 'status_of_availability',
'operation' => 'insert_update',
'values' => 'user_id;' . $this -> candidate['id']
]
)
);?>
= \Html::input(
array(
'type' => 'text',
'class' => 'form-edit date',
'label' => 'Dostępny od',
'id' => 'date_of_availability',
'value' => $this -> candidate['date_of_availability'] and $this -> candidate['date_of_availability'] != '0000-00-00' ? $this -> candidate['date_of_availability'] : '',
'params' => [
'table' => 'globelus_candidates_data',
'column_id' => 'id',
'row_id' => $this -> candidate['data_id'],
'column' => 'date_of_availability',
'operation' => 'insert_update',
'values' => 'user_id;' . $this -> candidate['id']
]
)
);?>
= \Html::select(
array(
'class' => 'form-edit',
'label' => 'Doświadczenie w pracy za granicą',
'id' => 'experience_abroad',
'values' => [ 0 => 'nie', 1 => 'tak' ],
'value' => $this -> candidate['experience_abroad'],
'empty' => true,
'params' => [
'table' => 'globelus_candidates_data',
'column_id' => 'id',
'row_id' => $this -> candidate['data_id'],
'column' => 'experience_abroad',
'operation' => 'insert_update',
'values' => 'user_id;' . $this -> candidate['id']
]
)
);?>
= \Html::select(
array(
'class' => 'form-edit',
'label' => 'Czy potrzebuje zakwaterowania',
'id' => 'accommodation',
'values' => [ 0 => 'nie', 1 => 'tak' ],
'value' => $this -> candidate['accommodation'],
'empty' => true,
'params' => [
'table' => 'globelus_candidates_data',
'column_id' => 'id',
'row_id' => $this -> candidate['data_id'],
'column' => 'accommodation',
'operation' => 'insert_update',
'values' => 'user_id;' . $this -> candidate['id']
]
)
);?>
= \Html::select(
array(
'class' => 'form-edit',
'label' => 'Czy posiada prawo jazdy',
'id' => 'driving_license',
'values' => [ 0 => 'nie', 1 => 'tak' ],
'value' => $this -> candidate['driving_license'],
'empty' => true,
'params' => [
'table' => 'globelus_candidates_data',
'column_id' => 'id',
'row_id' => $this -> candidate['data_id'],
'column' => 'driving_license',
'operation' => 'insert_update',
'values' => 'user_id;' . $this -> candidate['id']
]
)
);?>
= \Html::select(
array(
'class' => 'form-edit',
'label' => 'Czy dysponuje własnym samochodem',
'id' => 'own_car',
'values' => [ 0 => 'nie', 1 => 'tak' ],
'value' => $this -> candidate['own_car'],
'empty' => true,
'params' => [
'table' => 'globelus_candidates_data',
'column_id' => 'id',
'row_id' => $this -> candidate['data_id'],
'column' => 'own_car',
'operation' => 'insert_update',
'values' => 'user_id;' . $this -> candidate['id']
]
)
);?>
if ( file_exists( '../' . \front\factory\GlobelusCandidates::cv_url( $this -> candidate['id'] ) ) ):
$cv = '
zobacz CV';
endif;
?>
= \Html::form_text(
array(
'label' => 'CV',
'id' => 'cv',
'text' => $cv
)
);?>
= \Html::textarea(
array(
'label' => 'Dodatkowe informacje',
'class' => 'form-edit',
'name' => 'other_information',
'id' => 'other_information',
'value' => $this -> candidate['other_information'],
'inline' => true,
'params' => [
'table' => 'globelus_candidates_data',
'column_id' => 'id',
'row_id' => $this -> candidate['data_id'],
'column' => 'other_information',
'operation' => 'insert_update',
'values' => 'user_id;' . $this -> candidate['id']
]
)
);?>
= \Html::textarea(
array(
'label' => 'Notatka od GLOBELUS.pl',
'class' => 'form-edit',
'name' => 'notes',
'id' => 'notes',
'value' => $this -> candidate['notes'],
'inline' => true,
'params' => [
'table' => 'globelus_candidates_data',
'column_id' => 'id',
'row_id' => $this -> candidate['data_id'],
'column' => 'notes',
'operation' => 'insert_update',
'values' => 'user_id;' . $this -> candidate['id']
]
)
);?>