<?php if(count($errors) > 0): ?>
    <div class="col-xs-12">
        <div class="alert alert-danger fade in">
            <button class="close" data-dismiss="alert">
                    ×
            </button>
            <i class="fa-fw fa fa-times"></i>
            <strong>Error!</strong>
            <?php if(count($errors) == 1): ?>
                <?php echo $errors->all()[0]; ?>

            <?php else: ?>
            <ul>
                <?php foreach($errors->all() as $error): ?>
                    <li><?php echo $error; ?></li>
                <?php endforeach; ?>
            </ul>
            <?php endif; ?>
        </div>
    </div>
<?php endif; ?>                    

<?php if(Session::has('status')): ?>
<div class="col-xs-12">
    <div class="alert alert-info fade in">
        <button class="close" data-dismiss="alert">
            ×
        </button>
        <i class="fa-fw fa fa-info"></i>
        <strong>Info!</strong> <?php echo Session::get('status'); ?>

    </div>                        
</div>
<?php endif; ?>