Adding Ship Type Dropdown
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user