|
|
@ -17,12 +17,20 @@ |
|
|
|
<form method="post" action="{{ route('fermentations.store') }}"> |
|
|
|
@csrf |
|
|
|
<div class="form-group"> |
|
|
|
<label for="beer_id">Beer ID</label> |
|
|
|
<input type="text" class="form-control" name="beer_id"> |
|
|
|
<label for="beer_id">Beer</label> |
|
|
|
<select> |
|
|
|
@foreach ($beers as $beer) |
|
|
|
<option name="beer_id" value="{{$beer->beer_id}}">{{$beer->name}}</option> |
|
|
|
@endforeach |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label for="yeast_id">Yeast ID</label> |
|
|
|
<input type="text" class="form-control" name="yeast_id" > |
|
|
|
<label for="yeast_id">Yeast</label> |
|
|
|
<select> |
|
|
|
@foreach ($yeasts as $yeast) |
|
|
|
<option name="yeast_id" value="{{$yeast->id}}">{{$yeast->name}}</option> |
|
|
|
@endforeach |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label for="temperature">Temperature</label> |
|
|
|