Merge pull request #43 from apuc/add_user_card_social_links

social links on user card
This commit is contained in:
Glambertessa
2020-09-09 15:01:00 +03:00
committed by GitHub
4 changed files with 40 additions and 1 deletions

View File

@ -70,6 +70,12 @@ use yii\widgets\ActiveForm;
<div class="col-xs-6">
<?= $form->field($model, 'city')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-xs-3">
<?= $form->field($model, 'link_vk')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-xs-3">
<?= $form->field($model, 'link_telegram')->textInput(['maxlength' => true]) ?>
</div>
</div>
<div class="row">

View File

@ -53,6 +53,10 @@ $this->params['breadcrumbs'][] = $this->title;
'email:email',
'link_vk:url',
'link_telegram:url',
'dob',
[
'attribute' => 'status',