fdc1c9de
Yarik
test
|
14
15
16
17
18
19
20
|
<div class="error-summary">
<?=Html::errorSummary($model)?>
</div>
<div class="form-group" style="display: inline-block">
<label class="sr-only">User name</label>
<p class="form-control-static"><?=Html::a($user->name, ['performer/common', 'performer_id' => $user->id], ['target' => '_blank'])?></p>
<?=Html::activeHiddenInput($model, "[{$user->id}]user_id", ['value' => $user->id])?>
|
2f324895
Yarik
test
|
21
22
23
24
25
26
|
<?php
if($model->status == 1) {
echo Html::activeHiddenInput($model, "[{$user->id}]status", ['value' => $model->status]);
}
?>
<?=Html::activeHiddenInput($model, "[{$user->id}]user_id", ['value' => $user->id])?>
|
fdc1c9de
Yarik
test
|
27
28
29
30
31
32
33
34
35
36
37
38
39
|
</div>
<div class="form-group" style="display: inline-block">
<?=Html::activeLabel($model, 'position', ['label' => Yii::t('app', 'Должность: ')])?>
<?=Html::activeTextInput($model, "[{$user->id}]position", ['class' => 'form-control'])?>
</div>
<div class="form-group" style="display: inline-block">
<?=Html::activeLabel($model, 'time', ['label' => Yii::t('app', 'Часы: ')])?>
<?=Html::activeInput('number', $model, "[{$user->id}]time", ['class' => 'form-control'])?>
</div>
<div class="form-group" style="display:inline-block">
<span class="project_user_remove" style="background: url('/images/delete-ico.png'); width: 15px; height: 15px; display: block; background-size: cover; cursor:pointer"></span>
</div>
</div>
|