<?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-edit"></i> Edit App : <?php echo e($categories->name); ?></h3>
                   <form method="POST" action="<?php echo e(route('categories.update',$categories->id)); ?>" accept-charset="UTF-8">
                    <?php echo csrf_field(); ?>
                    <?php echo method_field('PUT'); ?>
                        <div class="form-group">
                            <label>Name:</label>
                            <input class="form-control" name="name" type="text" id="name" value="<?php echo e($categories->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" value="<?php echo e($categories->shortname); ?>" placeholder="App Short Name">
                            <?php if($errors->has('shortname')): ?>
                                <span class="text-danger"><?php echo e($errors->first('shortname')); ?></span>
                            <?php endif; ?>
                        </div>
                        <div class="form-group">                            
                            <button class="btn" type="submit">Update</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(); ?>