<?php $__env->startSection('title', 'Create Priority'); ?>
<?php $__env->startSection('content'); ?>

    <div class="row">
        <div class="widget">
            <div class="widget-header"> <i class="icon-plus"></i>
                <h3>Create New Priority</h3>
            </div>
            <!-- /widget-header -->
            <div class="widget-content">

                    <form id="edit-profile" method="POST" action="<?php echo e(route('priorities.store')); ?>" accept-charset="UTF-8"  class="form-horizontal">
                        <fieldset>
                            <?php echo csrf_field(); ?>
                            <div class="control-group">
                                <label class="control-label asterisk" for="firstname">Name:</label>
                                <div class="controls">
                                    <input type="text" class="span3" name="name" id="name" placeholder="Priority
">
                                    <?php if($errors->has('name')): ?>
                                        <span class="text-danger"><?php echo e($errors->first('name')); ?></span>
                                    <?php endif; ?>
                                </div> <!-- /controls -->
                            </div> <!-- /control-group -->

                            <div class="control-group">
                                <label class="control-label" for="firstname">Color:</label>
                                <div class="controls">
                                    <input id="simple-color-picker" type="text" name="color" class="span3" value="#8f3596"/>

                                </div> <!-- /controls -->
                            </div> <!-- /control-group -->

                            <div class="control-group">
                                <div class="controls">
                                    <label><input type="checkbox" name="default_set" value="1" id="ischeck"> Default Priority</label>

                                </div> <!-- /controls -->
                            </div> <!-- /control-group -->
                            <br />


                            <div class="form-actions">
                                <input class="btn btn-primary" type="submit" value="Submit">
                                <a href="<?php echo e(url('/prioritylist')); ?>" class="btn btn-default">Back</a>
                            </div> <!-- /form-actions -->
                        </fieldset>
                    </form>
                <!-- /shortcuts -->
            </div>
            <!-- /widget-content -->
        </div>
        <!-- /widget -->
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>