<?php $__env->startSection('title', 'Companies - Details #' . $company->id); ?>

<?php $__env->startSection('content_header', 'Companies <small>company details</small>'); ?>

<?php $__env->startSection('content'); ?>
    <div class="row">
        <section class="col-lg-12">
            <div class="nav-tabs-custom">
                <?php echo $__env->make('admin.companies._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>#</dt>
                                    <dd><?php echo e($company->id); ?></dd>
                                </dl>
                            </div>
                            <div class="col-md-6">
                                <dl class="dl-horizontal">
                                    <dt>Logo</dt>
                                    <dd>
                                        <?php if($company->logo): ?>
                                            <img src="<?php echo e($company->logo_thumb); ?>"/>
                                            <a href="<?php echo e(route('admin.companies.logo.delete', $company->id)); ?>" class="text-danger">&times;</a>
                                        <?php else: ?>
                                            -
                                        <?php endif; ?>
                                    </dd>
                                </dl>
                            </div>
                        </div>
                        <hr>
                        <div class="row">
                            <div class="col-md-6">
                                <dl class="dl-horizontal">
                                    <dt>Name</dt>
                                    <dd><?php echo e($company->name); ?></dd>
                                </dl>
                            </div>
                            <div class="col-md-6">
                                <dl class="dl-horizontal">
                                    <dt>Webpage</dt>
                                    <dd><a href="http://<?php echo e($company->webpage); ?>" target="_blank"><?php echo e($company->webpage); ?></a></dd>
                                </dl>
                            </div>
                        </div>
                        <hr>
                        <div class="row">
                            <div class="col-md-12">
                                <dl class="dl-horizontal">
                                    <dt>Tagline</dt>
                                    <dd><?php echo e($company->tagline); ?></dd>
                                </dl>
                            </div>
                        </div>
                        <hr>
                        <div class="row">
                            <div class="col-md-6">
                                <dl class="dl-horizontal">
                                    <dt>Created at</dt>
                                    <dd><?php echo e($company->created_at); ?></dd>
                                </dl>
                            </div>
                            <div class="col-md-6">
                                <dl class="dl-horizontal">
                                    <dt>Updated at</dt>
                                    <dd><?php echo e($company->updated_at); ?></dd>
                                </dl>
                            </div>
                        </div>
                        <hr>
                        <div class="clearfix">
                            <div class="pull-right">
                                <a href="<?php echo e(route('admin.companies.edit', $company->id)); ?>" class="btn btn-warning"><i class="fa fa-pencil"></i> Edit</a>
                                <a href="<?php echo e(route('admin.companies.delete', $company->id)); ?>" class="btn btn-danger confirm-action"><i class="fa fa-trash"></i> Delete</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(); ?>