<?php $__env->startSection('content'); ?>
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">Dashboard</div>

                <div class="card-body">
                    <?php if(session('status')): ?>
                        <div class="alert alert-success" role="alert">
                            <?php echo e(session('status')); ?>

                        </div>
                    <?php endif; ?>

                    <div class="row">
                        <div class="col-md-11 pull-left">
                            <h2>Create New Priority</h2>
                        </div>
                    </div>


                        <form method="POST" action="<?php echo e(route('admin.store')); ?>" class="form-horizontal">
                            <?php echo csrf_field(); ?>

                            <div class="form-group">
                                <label for="subject" class="col-lg-2 control-label">Name: </label>
                                <div class="col-lg-10">
                                    <input class="form-control" name="name" type="text" id="name" placeholder="Priority
">		   <?php if($errors->has('name')): ?>
                                        <span class="text-danger"><?php echo e($errors->first('name')); ?></span>
                                    <?php endif; ?>
                                </div>
                            </div>


                            <br>
                            <div class="form-group">
                                <div class="col-lg-10 col-lg-offset-2">
                                    <a href="<?php echo e(url('/priorities')); ?>" class="btn btn-default">Back</a>
                                    <input class="btn btn-primary" type="submit" value="Submit">
                                </div>
                            </div>
                        </form>


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

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