|
|
@ -18,17 +18,17 @@ |
|
|
|
@csrf |
|
|
|
<div class="form-group"> |
|
|
|
<label for="beer_id">Beer</label> |
|
|
|
<select class="form-control" name="beer_id" {{ $selected_beer == $beer->beer_id ? 'selected="selected"' : '' }}> |
|
|
|
<select class="form-control" name="beer_id"> |
|
|
|
@foreach ($beers as $beer) |
|
|
|
<option value="{{$beer->beer_id}}">{{$beer->name}}</option> |
|
|
|
<option value="{{$beer->beer_id}}" {{ $selected_beer == $beer->beer_id ? 'selected="selected"' : '' }}>{{$beer->name}}</option> |
|
|
|
@endforeach |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label for="yeast_id">Yeast</label> |
|
|
|
<select class="form-control" name="yeast_id" {{ $selected_yeast == $yeast->id ? 'selected="selected"' : '' }}> |
|
|
|
<select class="form-control" name="yeast_id"> |
|
|
|
@foreach ($yeasts as $yeast) |
|
|
|
<option value="{{$yeast->id}}">{{$yeast->name}}</option> |
|
|
|
<option value="{{$yeast->id}}" {{ $selected_yeast == $yeast->id ? 'selected="selected"' : '' }}>{{$yeast->name}}</option> |
|
|
|
@endforeach |
|
|
|
</select> |
|
|
|
</div> |
|
|
|