d8c1a2e0
Yarik
Big commit artbox
|
1
2
3
4
5
6
|
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
|
36d1807a
Yarik
Big commit.
|
7
|
/* @var $model common\models\Project */
|
d8c1a2e0
Yarik
Big commit artbox
|
8
|
|
36d1807a
Yarik
Big commit.
|
9
10
|
$this->title = $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Project', 'url' => ['index']];
|
d8c1a2e0
Yarik
Big commit artbox
|
11
12
|
$this->params['breadcrumbs'][] = $this->title;
?>
|
36d1807a
Yarik
Big commit.
|
13
|
<div class="articles-view" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
|
d8c1a2e0
Yarik
Big commit artbox
|
14
|
|
36d1807a
Yarik
Big commit.
|
15
|
<h1 itemprop="title"><?= Html::encode($this->title) ?></h1>
|
d8c1a2e0
Yarik
Big commit artbox
|
16
17
|
<p>
|
36d1807a
Yarik
Big commit.
|
18
19
|
<?= Html::a('Update', ['update', 'id' => $model->project_id], ['class' => 'btn btn-primary']) ?>
<?= Html::a('Delete', ['delete', 'id' => $model->project_id], [
|
d8c1a2e0
Yarik
Big commit artbox
|
20
21
22
23
24
25
26
27
28
29
30
|
'class' => 'btn btn-danger',
'data' => [
'confirm' => 'Are you sure you want to delete this item?',
'method' => 'post',
],
]) ?>
</p>
<?= DetailView::widget([
'model' => $model,
'attributes' => [
|
36d1807a
Yarik
Big commit.
|
31
32
33
|
'project_id',
'date_add:date',
'title',
|
d8c1a2e0
Yarik
Big commit artbox
|
34
35
36
37
|
],
]) ?>
</div>
|