관리-도구
편집 파일: 23453844cea8fbf383d704a7f36e95b319469776.php
<?php $__env->startSection('content'); ?> <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header"> <span class="panel-title"><?php echo e(_lang('Add Category')); ?></span> </div> <div class="card-body"> <form method="post" class="form-horizontal validate" autocomplete="off" action="<?php echo e(route('category.store')); ?>" enctype="multipart/form-data"> <?php echo e(csrf_field()); ?> <div class="row"> <div class="col-md-6"> <div class="form-group row"> <label class="col-md-3 col-form-label"><?php echo e(_lang('Name')); ?></label> <div class="col-md-9"> <input type="text" class="form-control" name="name" value="<?php echo e(old('name')); ?>" required> </div> </div> <div class="form-group row"> <label class="col-md-3 col-form-label"><?php echo e(_lang('Parent Category')); ?></label> <div class="col-md-9"> <select class="form-control auto-select" data-selected="<?php echo e(old('parent_id')); ?>" name="parent_id"> <option value=""><?php echo e(_lang('Select Category')); ?></option> <?php echo e(buildOptionTree(\App\Entity\Category\Category::all(), 0, null, 0, -1, 1)); ?> </select> </div> </div> <div class="form-group row"> <label class="col-md-3 col-form-label"><?php echo e(_lang('Description')); ?></label> <div class="col-md-9"> <textarea class="form-control" name="description"><?php echo e(old('description')); ?></textarea> </div> </div> <div class="form-group row"> <label class="col-md-3 col-form-label"><?php echo e(_lang('Logo')); ?></label> <div class="col-md-9"> <button type="button" class="choose-media btn btn-light" data-media-type="image" data-input-name="files[logo]"> <i class="fa fa-folder-open m-r-5"></i> <?php echo e(_lang('Browse')); ?> </button> <div class="image-container"> </div> </div> </div> <div class="form-group row"> <label class="col-md-3 col-form-label"><?php echo e(_lang('Banner')); ?></label> <div class="col-md-9"> <button type="button" class="choose-media btn btn-light" data-media-type="image" data-input-name="files[banner]"> <i class="fa fa-folder-open m-r-5"></i> <?php echo e(_lang('Browse')); ?> </button> <div class="image-container"> </div> </div> </div> <div class="form-group row"> <div class="col-md-9 offset-md-3"> <button type="submit" class="btn btn-primary"><?php echo e(_lang('Save')); ?></button> </div> </div> </div> </div> </form> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/customamgdigital/saintsaccessories.custom.amgdigitalagency.com/resources/views/backend/product/category/create.blade.php ENDPATH**/ ?>