@extends('layouts.admin') @section('content') @include('admin.partials.index_page.heading', ['title' => $heading_title]) @include('admin.partials.index_page.create_button', ['title' => $create_button_title])
{!! Form::label('query', 'Search') !!} {!! Form::text('query', Request::input('query'), ['class' => 'form-control', 'id' => 'query', 'placeholder' => 'Enter something to search...']) !!}
{!! Form::label('article_author_id', 'Author') !!} {!! Form::select('article_author_id', $authors, Request::input('article_author_id'), ['class' => 'form-control', 'id' => 'article_author_id', 'placeholder' => 'Select an Author']) !!}
{!! Form::label('article_type_id', 'Article Type') !!} {!! Form::select('article_type_id', $article_types, Request::input('article_type_id'), ['class' => 'form-control', 'id' => 'article_type_id', 'placeholder' => 'Select a Type']) !!}
{!! Form::label('date', 'Enter Published Date') !!}
{!! Form::text('date', Request::input('date'), ['class' => 'form-control datetimepicker', 'id' => 'date']) !!}
{!! Form::button('Search', ['class' => 'btn btn-primary form-control', 'id' => 'search_button']) !!}

Published

@include('admin.partials.index_page.table_container')

Drafts

@include('admin.partials.index_page.table_container', ['collection' => $drafts ?? []])
@endsection @push('scripts') @endpush