<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

$this->title = $model->id;
$this->params['breadcrumbs']['messages'] = $this->title;
?>
<div class="panel panel-primary">
    <div class="panel-heading"><span class="glyphicon glyphicon-envelope"></span><strong> <?= Html::encode(Yii::t('app','MessageNum ID') . $this->title) ?></strong></div>
    <div class="panel-body">



           <div class="profile-view">

                <p class="page-header"><?php echo $model->notes; ?></p>

                <?= Html::a(Yii::t('app', 'Back ID'), ['/messages/index', 'id' => Yii::$app->user->identity->id], ['class' => 'btn btn-primary']) ?>
                <?= Html::a(Yii::t('app', 'Delete ID'), ['delete', 'id' => $model->id], [
                    'class' => 'btn btn-danger',
                    'data' => [
                        'confirm' => Yii::t('app', 'Are you sure you want to delete this item?'),
                        'method' => 'post',
                    ],
                ]) ?>
            </div>
