Added Blogposts
This commit is contained in:
24
www/protected/views/blogPost/view.php
Normal file
24
www/protected/views/blogPost/view.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/* @var $this BlogPostController */
|
||||
/* @var $model BlogPost */
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
$this->pageTitle = 'Blogpost: ' . $model->Title . ' - ' . Yii::app()->name;
|
||||
|
||||
$this->breadcrumbs = array(
|
||||
'Blog' => array('/blog'),
|
||||
$model->Title,
|
||||
);
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<h1>View BlogPost #<?php echo $model->ID; ?></h1>
|
||||
|
||||
<div class="well markdownOwner" id="markdownAjaxContent">
|
||||
<?php echo ParsedownHelper::parse($model->Content); ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user