Просмотр файла vkclone-0.0.1/protected/modules/forums/views/post/confirm.php

Размер файла: 539B
<?php
$this->pageHeader = $this->pageTitle = Yii::t('Forums', 'Deleting post');
?>

<div class="blue_block">
	<strong>← <?= CHtml::link(Yii::t('Forums', 'Back to post'), array('topic/index', 'id' => $model->topic_id)) ?></strong>
</div>

<div class="danger_alert">
	<?= Yii::t('Forums', 'There\'s no way to restore this post after you click on the button below.') ?><br />
	<?= CHtml::form(array('delete', 'id' => $model->id)) ?>
	<?= CHtml::submitButton(Yii::t('Forums', 'Confirm post deletion'), array('class' => 'danger')); ?>
</div>