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:
parent
96e63f1572
commit
bd892f5407
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user