|
@ -18,17 +18,17 @@ |
|
|
@csrf |
|
|
@csrf |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="beer_id">Beer</label> |
|
|
<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) |
|
|
@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 |
|
|
@endforeach |
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="yeast_id">Yeast</label> |
|
|
<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) |
|
|
@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 |
|
|
@endforeach |
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|