Размер файла: 640B
<?php
$this->pageHeader = $this->pageTitle = Yii::t('Groups', 'Deleting topic');
?>
<div class="blue_block">
<strong>← <?= CHtml::link(Yii::t('Groups', 'Back to topic'), array('index', 'id' => $model->id)) ?></strong>
</div>
<div class="danger_alert">
<strong><?= Yii::t('Groups', 'Total {n} post|Total {n} posts', array($model->total_posts)) ?></strong><br />
<?= Yii::t('Groups', 'There\'s no way to restore all posts after you click on the button below.') ?><br />
<?= CHtml::form(array('delete', 'id' => $model->id)) ?>
<?= CHtml::submitButton(Yii::t('Groups', 'Confirm topic deletion'), array('class' => 'danger')); ?>
</div>