<?php $__env->startSection('title', 'Edit App'); ?>
<?php $__env->startSection('content'); ?>

            <div class="page-bx">
                <div class="row">
                   <div class="col-md-12">
                    <h3><i class="fa fa-add"></i> Create New App</h3>
                    <form method="POST" action="<?php echo e(route('categories.store')); ?>" accept-charset="UTF-8" id="formapp">
                    <?php echo csrf_field(); ?>
                        <div class="form-group">
                            <label>Name:</label>
                            <input class="form-control" name="name" type="text" id="name" placeholder="App Name">
                            <?php if($errors->has('name')): ?>
                                <span class="text-danger"><?php echo e($errors->first('name')); ?></span>
                            <?php endif; ?>   
                        </div>
                        <div class="form-group">
                            <label>Short Name:</label>
                            <input class="form-control" name="shortname" type="text" id="shortname" placeholder="App Short Name">
                            <?php if($errors->has('shortname')): ?>
                                <span class="text-danger"><?php echo e($errors->first('shortname')); ?></span>
                            <?php endif; ?>
                            <input type="hidden" name="ischeck" value="1" id="ischeck">
                        </div>
                        <div class="form-group">                            
                            <button class="btn" type="submit">Save</button>
                            <a href="<?php echo e(url('categories')); ?>" class="btn btn-default">Back</a>
                        </div>
                    </form>
                    </div>
                </div>
            </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.default', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>