some fixes in resume

This commit is contained in:
iIronside 2022-11-08 15:41:30 +03:00
parent 28d33761ca
commit 4efa463b18
3 changed files with 6 additions and 1 deletions

View File

@ -18,6 +18,7 @@ $this->params['breadcrumbs'][] = 'Резюме';
<div class="form-group">
<?= Html::a('Редактировать профиль', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
<?= Html::a('Просмотр профиля', ['view', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
</div>
<div class="resume-form">

View File

@ -99,6 +99,10 @@ $this->params['breadcrumbs'][] = $this->title;
'attribute' => 'test_task_complete_date',
'format' => ['datetime', 'php:d.m.Y']
],
[
'attribute' => 'resume_text',
'format' => 'raw'
],
],
]) ?>

View File

@ -155,7 +155,7 @@ class UserCard extends \yii\db\ActiveRecord
'test_task_getting_date' => 'Дата получения тестового',
'test_task_complete_date' => 'Дата выполнения тестового',
'resumeTemplateId' => 'Шаблон резюме',
'resume_text' => 'Текст резюме'
'resume_text' => 'Резюме сгенерированный текст'
];
}