@stack('third_party_stylesheets') @stack('page_css')
@include('layouts.sidebar')

Create Discover Card

@if(Session::has('success'))
{{ Session::get('success') }} @php Session::forget('success'); @endphp
@endif @if(!empty($errors)) @if($errors->any())
    @foreach(array_unique($errors->all()) as $error)
  • {!! $error !!}
  • @endforeach
@endif @endif
{!! Form::open(['route' => 'discover-cards-store','files' => true]) !!}
{!! Form::label('title', 'Title:',['class'=> 'required']) !!} {!! Form::text('title', null, ['class' => 'form-control']) !!}
{!! Form::label('image', 'Image:',['class'=> 'required']) !!}
{!! Form::file('image', ['class' => 'custom-file-input','accept'=>'image/*']) !!} {!! Form::label('image', 'Choose file', ['class' => 'custom-file-label']) !!}
{!! Form::label('url', 'Url:',['class'=> 'required']) !!} {!! Form::text('url', null, ['class' => 'form-control']) !!}
{!! Form::label('city_id', 'City:',['class'=> 'required']) !!}
@push('page_scripts') @endpush @push('page_scripts') @endpush
{!! Form::close() !!}
@stack('third_party_scripts') @stack('page_scripts')