<?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">
                            <label>App Prefix:</label>
                            <input class="form-control" name="shop_prefix" type="text" id="shop_prefix" value="<?php echo e($categories->shop_prefix); ?>" placeholder="App Prefix">
                            <?php if($errors->has('shop_prefix')): ?>
                                <span class="text-danger"><?php echo e($errors->first('shop_prefix')); ?></span>
                            <?php endif; ?>
                        </div>
                        <div class="form-group">
                            <label>App Url:</label>
                            <input class="form-control" name="app_url" type="text" id="app_url" value="<?php echo e($categories->app_url); ?>" placeholder="App Url">
                            <?php if($errors->has('app_url')): ?>
                                <span class="text-danger"><?php echo e($errors->first('app_url')); ?></span>
                            <?php endif; ?>
                        </div>
                        <div class="form-group">
                            <label>Help Doc Url:</label>
                            <input class="form-control" name="help_doc_url" type="text" id="help_doc_url" value="<?php echo e($categories->help_doc_url); ?>" placeholder="Help Doc Url">
                            <?php if($errors->has('help_doc_url')): ?>
                                <span class="text-danger"><?php echo e($errors->first('help_doc_url')); ?></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(); ?>