<?php $__env->startSection('title', 'Articol  - Detalii #' . $post->id); ?>

<?php $__env->startSection('content_header', 'Articol <small>detalii articol</small>'); ?>

<?php $__env->startSection('content'); ?>
    <div class="row">
        <section class="col-lg-12">
            <div class="nav-tabs-custom">
                <?php echo $__env->make('admin.blog._partials.tabs', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                <div class="tab-content">
                    <div class="tab-pane active">
                        <div class="row">
                            <div class="col-md-6">
                                <dl class="dl-horizontal">
                                    <dt>#ID</dt>
                                    <dd><?php echo e($post->id_post); ?></dd>
                                </dl>
                            </div>
                            <div class="col-md-6">
                                <dl class="dl-horizontal">
                                    <dt>Slug</dt>
                                    <dd><?php echo e($post->slug); ?></dd>
                                </dl>
                            </div>
                        </div> 
                        <hr>
                        <div class="row">
                            <div class="col-md-9">
                                <dl class="dl-horizontal">
                                    <dt>Titlu</dt>
                                    <dd><?php echo e($post->title); ?></dd>
                                </dl>
                            </div>
                           <div class="col-md-3">
                                <dl class="dl-horizontal">
									<?php if($post->image): ?>											 
                                    <dd><img src="<?php echo e(asset('uploads/blog/'.$post->image)); ?>" alt="" class="img-responsive"></dd>
									<?php endif; ?>
                                </dl>
                            </div>
                        </div>
                        <hr>
                        <div class="row">
                            <div class="col-md-12">
                                <dl class="dl-horizontal">
                                    
                                    <dd><?php echo $post->content; ?></dd>
                                </dl>
                            </div>
                        </div>
                        <hr>
                        <div class="row">
                            <div class="col-md-6">
                                <dl class="dl-horizontal">
                                    <dt>Creat in </dt>
                                    <dd><?php echo e($post->created_at); ?></dd>
                                </dl>
                            </div>
                            <div class="col-md-6">
                                <dl class="dl-horizontal">
                                    <dt>Editat in</dt>
                                    <dd><?php echo e($post->updated_at); ?></dd>
                                </dl>
                            </div>
                        </div>
                        <hr>
                        <div class="clearfix">
                            <div class="pull-right">
                                <a href="<?php echo e(route('admin.blog.edit', $post->id_post)); ?>" class="btn btn-warning"><i class="fa fa-pencil"></i> Editare</a>
                                <a href="<?php echo e(route('admin.blog.delete', $post->id_post)); ?>" class="btn btn-danger confirm-action"><i class="fa fa-trash"></i> Stergere</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>