title = $page->translation->title; $this->params['breadcrumbs'][] = ['label' => Yii::t('pages', 'Pages'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; $css = <<registerCss($css); ?>

'btn btn-default']) ?> $page->id], ['class' => 'btn btn-primary']) ?> $page->id], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => Yii::t('buttons', 'Are you sure you want to delete this item?'), 'method' => 'post', ], ]) ?>

$page, 'attributes' => [ 'id', 'slug', ], ]) ?>
params['translatedLanguages'] as $language => $language_name) { $items[] = [ 'label' => $language_name, 'content' => $this->render('_view_tab', [ 'page' => $page, 'language' => $language, ]), ]; } ?>
  • revision_id): ?> revision_at) ?> → get('frontendUrlManager')->createAbsoluteUrl([ '/pages/page/preview', 'id' => $item->id ])), [ 'style' => 'font-size:11px;', 'target' => '_blank', ]) ?> | $item->id], [ 'style' => 'font-size:11px; color: red', 'data' => [ 'confirm' => Yii::t('pages', 'Are you sure you want to restore this history item?'), 'method' => 'post', ], ]) ?>
$page->id], [ 'class' => 'btn btn-danger btn-sm pull-right', 'data' => [ 'confirm' => Yii::t('pages', 'Are you sure you want to remove this history?'), 'method' => 'post', ], ]) ?>