<?php $__env->startSection('content'); ?>
    <?php if($bannerImage): ?>
        <div class="output-banner">
            <img  class="output-banner__image" src="<?php echo e(URL::asset($bannerImage->src)); ?>" alt="<?php echo e($bannerImage->name); ?>">
            <h1 class="output-banner__title"><?php echo e($output->name); ?></h1>
        </div>
    <?php else: ?>
        <h1><?php echo e($output->name); ?></h1>
    <?php endif; ?>

    <div class="row">
        <div class="col-md-9">
            <div class="output-content">
                <?php if($headlineImage): ?>
                    <img  class="output-banner__image" src="<?php echo e(URL::asset($headlineImage->src)); ?>" alt="<?php echo e($headlineImage->name); ?>">
                <?php endif; ?>
                <div class="output-content__description">
                    <?php echo $output->description; ?>

                </div>
            </div>

            <?php if(count($output->actions)): ?>

                <h3>Actions Contributing to <?php echo e($output->name); ?></h3>

                <table class="table">
                    <thead>
                        <tr>
                            <th>Actions</th>
                            <th>Contribution</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach($output->actions as $action): ?>
                            <tr>
                                <td><?php echo e($action->name); ?></td>
                                <td><?php echo e($action->pivot->specifics); ?></td>
                            </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            <?php endif; ?>
        </div>
        <div class="col-md-3">
            @todo  A sidebar!
        </div>
    </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.main', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>