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
This commit is contained in:
B.Fatih KOZ 2021-05-24 03:47:15 +03:00 committed by GitHub
parent c94358350a
commit 4985da991b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -9,4 +9,3 @@
</div>
</div>
@endsection
@include('admin.flights.scripts')

View File

@ -186,13 +186,13 @@
<div class="col-sm-4">
{{ Form::label('start_date', 'Start Date') }}
<span class="description small">optional</span>
{{ 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']) }}
</div>
<div class="col-sm-4">
{{ Form::label('end_date', 'End Date') }}
<span class="description small">optional</span>
{{ 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']) }}
</div>
<div class="form-group col-sm-4">