@extends('adminlte::layouts.app')

@section('htmlheader_title')
	Duplicates
@endsection

@section('contentheader_title')
	Review Duplicate Items
@endsection
@section('contentheader_description')
	{{ $catalog->count() }} to review
@endsection
@section('page_title')
	Duplicates
@endsection

@section('main-content')
	<div class="col-12">
		@if ($catalog->count())
			<span class="pagination justify-content-center">{{ $catalog->links() }}</span>

			<form action="{{ $return }}" method="POST">
				@csrf

				<input type="hidden" name="type" value="{{ $type }}">
				<input type="hidden" name="page" value="{{ $catalog->currentPage() }}">

				@include('catalog.widgets.duplicates')

				<div class="pb-2"><button class="btn btn-sm btn-primary">Update</button></div>
			</form>
		@else
			NONE!
		@endif
	</div>
@endsection