
<?php $__env->startSection('subtitle'); ?>
Delete Attachment <?php echo $attachment -> name; ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

<div class="row">
    <div class="col-lg-12">
        <h1><?php echo $attachment -> name; ?> <small>Delete</small></h1>
        <ol class="breadcrumb">
            <li>
                <i class="fa fa-dashboard"></i>
                <a href="<?php echo route('adminDashboard'); ?>">
                    Dashboard
                </a>
            </li>
            <li>
                <i class="icon-file-alt"></i>
                <a href="<?php echo route('admin.game.index'); ?>">
                    Games
                </a>
            </li>
            <li>
                <i class="icon-file-alt"></i>
                <a href="<?php echo action('GameController@show', array('id' => $game -> id)); ?>">
                    <?php echo $game -> id; ?>
                </a>
            </li>
            <li>
                <i class="icon-file-alt"></i>
                <a href="#">
                    <?php echo $attachment -> name; ?>
                </a>
            </li>
            <li class="active">
                <i class="icon-file-alt"></i> Delete
            </li>
        </ol>
    </div>
</div><!-- /.row -->

<div class="row">
    <div class="col-lg-7">
        <div class="well">
            <?php echo Form::open( array('url' => action('AttachmentController@destroy', array('id' => $game -> id, 'attachmentID' => $attachment -> id)), 'class' => 'form-horizontal')); ?>
            <fieldset>
                <legend>
                    <p>
                        Are you sure you want to delete the attachment <?php echo $attachment -> name; ?>? This process is irreversible.
                    </p>
                </legend>
                <div class="form-group">
                    <div class="col-lg-6">
                        <a class="btn btn-default" href="<?php echo action('GameController@index'); ?>">
                            Cancel
                        </a>
                        <button type="submit" class="btn btn-danger">
                            Delete
                        </button>
                    </div>
                </div>
            </fieldset>
            <?php echo Form::close(); ?>
        </div>
    </div>
</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>