Adding Ship Type Dropdown

This commit is contained in:
2021-04-07 23:37:02 -07:00
parent 233ff454c3
commit 73f76aea46
12 changed files with 371 additions and 5 deletions

View File

@ -99,7 +99,11 @@
</div>
<div class="form-group">
<label for="shipType">Ship Type</label>
<input name="shipType" type="text" class="form-control" id="shipType" value="{{ $ship->shipType }}" required>
<select name="shipType" for="shipType" class="form-control">
@foreach($eliteShips as $eliteShip)
<option value="{{$eliteShip->shipName}}">{{$eliteShip->shipName}}</option>
@endforeach
</select>
</div>
<div class="form-group">
<label for="shipOwner">Ship Owner</label>
@ -166,7 +170,11 @@
</div>
<div class="form-group">
<label for="shipType">Ship Type</label>
<input name="shipType" type="text" class="form-control" id="shipType" required>
<select name="shipType" for="shipType" class="form-control">
@foreach($eliteShips as $eliteShip)
<option value="{{$eliteShip->shipName}}">{{$eliteShip->shipName}}</option>
@endforeach
</select>
</div>
<div class="form-group">
<label for="shipOwner">Ship Owner</label>