<div class="card-body">
    <form action="<?php echo e($model); ?>" method="GET">
        <div class="row">
            <div class="col-2">
                <div class="form-group">
                    <input type="text"
                           class="form-control"
                           name="keyword"
                           placeholder="Search here"
                           value="<?php echo e(old('keyword'), request()->input('keyword')); ?>">
                </div>
            </div>
            <div class="col-2">
                <div class="form-group">
                    <select name="status" class="form-control">
                        <option value="">---</option>
                        <option value="0" <?php echo e(old('active', request()->input('status') == '0' ? 'selected' : '')); ?>>Inactive</option>
                        <option value="1" <?php echo e(old('active', request()->input('status') == '1' ? 'selected' : '')); ?>>Active</option>
                    </select>
                </div>
            </div>
            <div class="col-2">
                <div class="form-group">
                    <select name="sortBy" class="form-control">
                        <option value="">---</option>
                        <option value="id" <?php echo e(old('sortBy', request()->input('sortBy') == 'id' ? 'selected' : '')); ?>>ID</option>
                        <option value="name" <?php echo e(old('sortBy', request()->input('sortBy') == 'name' ? 'selected' : '')); ?>>Name</option>
                        <option value="created_at" <?php echo e(old('sortBy', request()->input('sortBy') == 'created_at' ? 'selected' : '')); ?>>Create At</option>
                    </select>
                </div>
            </div>
            <div class="col-2">
                <div class="form-group">
                    <select name="orderBy" class="form-control">
                        <option value="">---</option>
                        <option value="asc" <?php echo e(old('orderBy', request()->input('orderBy') == 'asc' ? 'selected' : '')); ?>>Ascending</option>
                        <option value="desc" <?php echo e(old('orderBy', request()->input('orderBy') == 'desc' ? 'selected' : '')); ?>>Descending</option>
                    </select>
                </div>
            </div>
            <div class="col-2">
                <div class="form-group">
                    <select name="limitBy" class="form-control">
                        <option value="">---</option>
                        <option value="10" <?php echo e(old('limitBy', request()->input('limitBy') == '10' ? 'selected' : '')); ?>>10</option>
                        <option value="20" <?php echo e(old('limitBy', request()->input('limitBy') == '20' ? 'selected' : '')); ?>>20</option>
                        <option value="50" <?php echo e(old('limitBy', request()->input('limitBy') == '50' ? 'selected' : '')); ?>>50</option>
                        <option value="100" <?php echo e(old('limitBy', request()->input('limitBy') == '100' ? 'selected' : '')); ?>>100</option>
                    </select>
                </div>
            </div>
            <div class="col-1">
                <div class="form-group">
                    <button type="submit" name="submit" class="btn btn-link">Search</button>
                </div>
            </div>
        </div>
    </form>
</div>
<?php /**PATH /home2/lekruu/public_html/resources/views/partials/backend/filter.blade.php ENDPATH**/ ?>