<?php echo csrf_field(); ?>
<div class="form-material">
    <label class="mb-1" for="name">Name</label>
    <input type="text" class="form-control" id="name" name="name" required value="<?php echo e($category->name); ?>">

    <label class="mb-1" for="takeaway">Takeaway Option</label>
    <select class="form-control takeaway" name="takeaway">
        <option value="0" <?php if($category->takeaway == '0' ): ?> selected <?php endif; ?>>No</option>
        <option value="1" <?php if($category->takeaway == '1' ): ?> selected <?php endif; ?>>Yes</option>
    </select>

    <label class="mb-1" for="sort">Sort</label>
    <input type="number" class="form-control" id="sort" name="sort" required value="<?php echo e($category->sort); ?>">

    <label class="my-1" for="description">Description</label>
    <textarea class="form-control" id="description" cols="30" rows="2" name="description"><?php echo e($category->description); ?></textarea>

    <input type="hidden" name="id" value="<?php echo e($category->id); ?>"/>
</div>
<?php /**PATH /home/jubilees/trendsadmin.jubileesystem.com/core/resources/views/modals/category/edit-category.blade.php ENDPATH**/ ?>