title; $this->title = $title; $this->params['breadcrumbs'][] = ['label' => Yii::t('blog', 'Posts'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $title; ?>

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

$post, 'attributes' => [ 'id', [ 'attribute' => 'status', 'value' => BlogPostHelper::statusLabel($post->status), 'format' => 'raw', ], 'title', [ 'attribute' => 'category_id', 'value' => ArrayHelper::getValue($post, 'category.name'), ], [ 'label' => Yii::t('post', 'Tags'), 'format' => 'raw', 'value' => ' ' . implode(' ', ArrayHelper::getColumn($post->tags, 'name')), ], ], ]) ?>
image): ?>
getThumbFileUrl('image', 'thumb_gallery_view'), [ 'class' => 'thumbnail', 'width' => 300, ]) ?>
image && $post->video): ?>
video) . '/maxresdefault.jpg', [ 'width' => 300, 'class' => 'thumbnail', ]) ?>
video): ?>
formatter->asNtext($post->description) ?>
formatter->asHtml($post->content, [ 'Attr.AllowedRel' => array('nofollow'), 'HTML.SafeObject' => true, 'Output.FlashCompat' => true, 'HTML.SafeIframe' => true, 'URI.SafeIframeRegexp'=>'%^(https?:)?//(www\.youtube(?:-nocookie)?\.com/embed/|player\.vimeo\.com/video/)%', ]) ?>
$post, 'attributes' => [ [ 'attribute' => 'meta.title', 'value' => $post->meta->title, ], [ 'attribute' => 'meta.description', 'value' => $post->meta->description, ], [ 'attribute' => 'meta.keywords', 'value' => $post->meta->keywords, ], ], ]) ?>