d8c1a2e0
Yarik
Big commit artbox
|
1
|
<?php
|
93c267f7
Yarik
Multilanguage big...
|
2
3
4
5
6
7
8
|
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model common\models\Service */
|
4428da8c
Yarik
Almost all databa...
|
9
|
$this->title = $model->id;
|
93c267f7
Yarik
Multilanguage big...
|
10
11
12
13
14
|
$this->params[ 'breadcrumbs' ][] = [
'label' => Yii::t('app', 'Services'),
'url' => [ 'index' ],
];
$this->params[ 'breadcrumbs' ][] = $this->title;
|
d8c1a2e0
Yarik
Big commit artbox
|
15
16
|
?>
<div class="service-view">
|
93c267f7
Yarik
Multilanguage big...
|
17
|
|
d8c1a2e0
Yarik
Big commit artbox
|
18
|
<h1><?= Html::encode($this->title) ?></h1>
|
93c267f7
Yarik
Multilanguage big...
|
19
|
|
d8c1a2e0
Yarik
Big commit artbox
|
20
|
<p>
|
4428da8c
Yarik
Almost all databa...
|
21
22
23
24
25
|
<?= Html::a(
Yii::t('app', 'Update'),
[
'update',
'id' => $model->id,
|
d8c1a2e0
Yarik
Big commit artbox
|
26
|
],
|
4428da8c
Yarik
Almost all databa...
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
[ 'class' => 'btn btn-primary' ]
) ?>
<?= Html::a(
Yii::t('app', 'Delete'),
[
'delete',
'id' => $model->id,
],
[
'class' => 'btn btn-danger',
'data' => [
'confirm' => Yii::t('app', 'Are you sure you want to delete this item?'),
'method' => 'post',
],
]
) ?>
|
d8c1a2e0
Yarik
Big commit artbox
|
43
|
</p>
|
93c267f7
Yarik
Multilanguage big...
|
44
|
|
4428da8c
Yarik
Almost all databa...
|
45
46
47
48
49
50
51
52
53
54
|
<?= DetailView::widget(
[
'model' => $model,
'attributes' => [
'id',
'imageUrl:image',
'created_at:date',
],
]
) ?>
|
d8c1a2e0
Yarik
Big commit artbox
|
55
56
|
</div>
|