From 4985da991b138e443a09a2e21e44b6ad293d4d32 Mon Sep 17 00:00:00 2001 From: "B.Fatih KOZ" <74361521+FatihKoz@users.noreply.github.com> Date: Mon, 24 May 2021 03:47:15 +0300 Subject: [PATCH] Remove Scripts (#1200) * Remove Scripts Remove scripts from create blade which are designed for edit blade in the first place (thus looking for flight object and its properties). No need to have an eyecandy date picker or a days selector, previous working version of create.blade was more than enough to manually add fights. * Add placeholder for date fields --- resources/views/admin/flights/create.blade.php | 1 - resources/views/admin/flights/fields.blade.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/views/admin/flights/create.blade.php b/resources/views/admin/flights/create.blade.php index 95f12829..9fa39972 100644 --- a/resources/views/admin/flights/create.blade.php +++ b/resources/views/admin/flights/create.blade.php @@ -9,4 +9,3 @@ @endsection -@include('admin.flights.scripts') diff --git a/resources/views/admin/flights/fields.blade.php b/resources/views/admin/flights/fields.blade.php index 40fccb65..2786c2a1 100644 --- a/resources/views/admin/flights/fields.blade.php +++ b/resources/views/admin/flights/fields.blade.php @@ -186,13 +186,13 @@
{{ Form::label('start_date', 'Start Date') }} optional - {{ Form::text('start_date', null, ['id' => 'start_date', 'class' => 'form-control']) }} + {{ Form::text('start_date', null, ['id' => 'start_date', 'class' => 'form-control', 'placeholder'=>'2021-03-25']) }}
{{ Form::label('end_date', 'End Date') }} optional - {{ Form::text('end_date', null, ['id' => 'end_date', 'class' => 'form-control']) }} + {{ Form::text('end_date', null, ['id' => 'end_date', 'class' => 'form-control', 'placeholder'=>'2021-06-30']) }}