Fix Admin/Subfleet Edit (#1315)

As like the db and model, admins should be able to not choosing a hub for their fleets here.
This commit is contained in:
B.Fatih KOZ 2021-09-21 20:29:47 +03:00 committed by GitHub
parent 96e63f1572
commit bd892f5407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@
<div class="form-group col-sm-3"> <div class="form-group col-sm-3">
{{ Form::label('hub_id', 'Main Hub:') }} {{ Form::label('hub_id', 'Main Hub:') }}
{{ Form::select('hub_id', $hubs, null , ['class' => 'form-control select2']) }} {{ Form::select('hub_id', $hubs, null , ['class' => 'form-control select2', 'placeholder' => '']) }}
<p class="text-danger">{{ $errors->first('hub_id') }}</p> <p class="text-danger">{{ $errors->first('hub_id') }}</p>
</div> </div>