<div class="row">
	<div class="col-lg-12">
		<form method="get">
			<div class="row">
				<div class="form-group col-lg-2">
					<label>Kolom Sortir</label>
					<select class="form-control" name="sort_column">
						<option value="" selected>Kolom...</option>
						@foreach($sort_column as $key => $value)
							@if (request('sort_column') == $key)
							    <option value="{{ $key }}" selected>{{ $value }}</option>
							@else
							    <option value="{{ $key }}">{{ $value }}</option>
							@endif
						@endforeach
					</select>
				</div>
				<div class="form-group col-lg-2">
					<label>Tipe Sortir</label>
					<select class="form-control" name="sort_type">
						<option value="" selected>Tipe...</option>
						@foreach($sort_type as $key => $value)
							@if (request('sort_type') == $key)
							    <option value="{{ $key }}" selected>{{ $value }}</option>
							@else
							    <option value="{{ $key }}">{{ $value }}</option>
							@endif
						@endforeach
					</select>
				</div>
				<div class="form-group col-lg-2">
					<label>Kolom Cari</label>
					<select class="form-control" name="search_column">
						<option value="" selected>Kolom...</option>
						@foreach($sort_column as $key => $value)
							@if (request('search_column') == $key)
							    <option value="{{ $key }}" selected>{{ $value }}</option>
							@else
							    <option value="{{ $key }}">{{ $value }}</option>
							@endif
						@endforeach
					</select>
				</div>
				<div class="form-group col-lg-5">
					<label>Kata Kunci Cari</label>
					<input type="text" class="form-control" name="search_value" placeholder="Kata Kunci..." value="{{ request('search_value') }}">
				</div>
				<div class="form-group col-lg-1">
					<label>Submit</label>
					<button type="submit" class="btn btn-block btn-success"><i class="fa fa-filter"></i></button>
				</div>
			</div>
		</form>
	</div>
</div>

{{-- <div class="modal fade" id="filter_modal" tabindex="-1" role="dialog" aria-labelledby="filterDataLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<h5 class="modal-title mt-0" id="filterDataLabel">
					<i class="mdi mdi-filter"></i> Filter Data
				</h5>
				<button type="button" class="close" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
			</div>
			<div class="modal-body">
				<form method="get" id="filter_form">
					<div class="row">
						<div class="form-group col-lg-6">
							<label>Tampilkan</label>
							<select class="form-control" name="filter_row" id="filter_row" data-toggle="select2">
								<option value="" selected>Pilih...</option>
								<option value="10" selected>10 Baris</option>
								<option value="30">30 Baris</option>
								<option value="50">50 Baris</option>
								<option value="100">100 Baris</option>
							</select>
						</div>
						<div class="form-group col-lg-6">
							<label>Tipe</label>
							<select class="form-control" name="filter_type" id="filter_type" data-toggle="select2">
								<option value="" selected>Semua...</option>
								<option value="Default">Default</option>
								<option value="Custom Comments">Custom Comments</option>
								<option value="Custom Comments Package">Custom Comments Package</option>
								<option value="Comment Likes">Comment Likes</option>
								<option value="Comment Replies">Comment Replies</option>
								<option value="Mentions">Mentions</option>
								<option value="Mentions Custom List">Mentions Custom List</option>
								<option value="Mentions Hashtag">Mentions Hashtag</option>
								<option value="Mentions User Followers">Mentions User Followers</option>
								<option value="Package">Package</option>
								<option value="Poll">Poll</option>
							</select>
						</div>
						<div class="form-group col-lg-6">
							<label>Kategori</label>
							<select class="form-control" name="filter_category" id="filter_category" data-toggle="select2">
								<option value="" selected>Pilih...</option>
								@foreach($categories as $item)
                                    <option value="{{ $item['category_name'] }}">{{ $item['category_name'] }}</option>
								@endforeach
							</select>
						</div>
						<div class="form-group col-lg-6">
							<label>Cari</label>
							<input type="text" class="form-control" name="search" id="search" placeholder="Cari...">
						</div>
						<div class="form-group col-6">
							<div class="custom-control custom-checkbox mb-2">
								<input type="checkbox" class="custom-control-input" name="filter_refill_support" id="filter_refill_support" value="1">
								<label class="custom-control-label" for="filter_refill_support">Dukungan Isi Ulang</label>
							</div>
						</div>
						<div class="form-group col-6">
							<div class="custom-control custom-checkbox mb-2">
								<input type="checkbox" class="custom-control-input" name="filter_favorite" id="filter_favorite" value="1">
								<label class="custom-control-label" for="filter_favorite">Layanan Favorit</label>
							</div>
						</div>
						<div class="form-group col-6 button-items d-grid gap-2">
							<button type="reset" class="btn btn-danger btn-block"><i class="mdi mdi-refresh"></i> Reset</button>
						</div>
						<div class="form-group col-6 button-items d-grid gap-2">
							<button type="submit" class="btn btn-primary btn-block"><i class="mdi mdi-filter"></i> Filter</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div> --}}