title = Yii::$app->name . ' | ' . Yii::t(
'abiturient/bachelor/education/all',
'Заголовок страницы док. об образ.: `Личный кабинет поступающего`'
);
$formId = 'education-data-form';
$isReadonly = false;
$disabled = '';
if (!$canEdit) {
$disabled = 'disabled';
$isReadonly = true;
}
$hideProfileFieldForEducation = $application->type->hide_profile_field_for_education;
?>
= $this->render('../abiturient/_abiturientheader', [
'route' => Yii::$app->urlManager->parseRequest(Yii::$app->request)[0],
'current_application' => $application
]); ?>
= $this->render('../abiturient/_fileError', [
'attachmentErrors' => $attachmentErrors,
]); ?>
configurationManager->getText('education_top_text', $application->type ?? null)) : ?>
= $this->render(
'partials/education/_education_pjax',
[
'status' => $status,
'canEdit' => $canEdit,
'application' => $application,
'educationDatum' => $education_datum,
'hasChangedAttributes' => $hasChangedAttributes,
'applicationComparisonWithActual' => $application_comparison,
'hideProfileFieldForEducation' => $hideProfileFieldForEducation,
'allowAddNewEducationAfterApprove' => $allowAddNewEducationAfterApprove,
'allowAddNewFileToEducationAfterApprove' => $allowAddNewFileToEducationAfterApprove,
'allowDeleteFileFromEducationAfterApprove' => $allowDeleteFileFromEducationAfterApprove,
]
); ?>
$formId,
'options' => ['name' => 'EducationForm', 'enctype' => 'multipart/form-data'],
'fieldConfig' => [
'template' => "{input}\n{error}"
]
]); ?>
= AttachmentWidget::widget([
'formId' => $formId,
'regulationConfigArray' => [
'items' => $regulations,
'isReadonly' => $isReadonly,
'form' => $form
],
'attachmentConfigArray' => [
'items' => $attachments,
'isReadonly' => $isReadonly,
'application' => $application
]
]) ?>
hasPassedApplicationWithEditableAttachments(AttachmentType::RELATED_ENTITY_EDUCATION)
) {
$next_step_service = new NextStepService($application);
$message = Yii::t(
'abiturient/bachelor/education/all',
'Подпись кнопки сохранения формы с образованием; на странице док. об образ.: `Сохранить`'
);
if ($next_step_service->getUseNextStepForwarding()) {
$message = Yii::t(
'abiturient/bachelor/education/all',
'Подпись кнопки сохранения формы с образованием; на странице док. об образ.: `Сохранить и перейти к следующему шагу`'
);
}
echo Html::submitButton(
$message,
['class' => 'btn btn-primary float-right']
);
echo Html::a(
Yii::t(
'abiturient/bachelor/education/all',
'Подпись кнопки отмены формы с образованием; на странице док. об образ.: `Отмена`'
),
Url::toRoute(['bachelor/education', 'id' => $application->id]),
['class' => 'btn btn-outline-secondary float-right mr-2']
);
}
?>
getUseNextStepForwarding()) {
$message = Yii::t(
'abiturient/bachelor/education/all',
'Подпись кнопки перехода к следующему шагу; на странице док. об образ.: `Перейти к следующему шагу`'
);
$next_step = $next_step_service->getNextStep('education');
if ($next_step !== 'education') {
echo Html::a(
$message,
$next_step_service->getUrlByStep($next_step),
['class' => 'btn btn-primary float-right']
);
}
}
?>
configurationManager->getText('education_bottom_text', $application->type ?? null)) : ?>
= $educationBottomText; ?>