|
@ -18,11 +18,19 @@ |
|
|
@csrf |
|
|
@csrf |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="beer_id">Beer ID</label> |
|
|
<label for="beer_id">Beer ID</label> |
|
|
<input type="text" class="form-control" name="beer_id"> |
|
|
|
|
|
|
|
|
<select> |
|
|
|
|
|
@foreach ($beers as $beer) |
|
|
|
|
|
<option name="beer_id" value="{{$beer->id}}">{{$beer->name}} (ID: {{$beer->id}})</option> |
|
|
|
|
|
@endforeach |
|
|
|
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="grain_id">Grain ID</label> |
|
|
<label for="grain_id">Grain ID</label> |
|
|
<input type="text" class="form-control" name="grain_id" > |
|
|
|
|
|
|
|
|
<select> |
|
|
|
|
|
@foreach ($grains as $grain) |
|
|
|
|
|
<option name="grain_id" value="{{$grain->id}}">{{$grain->name}} (ID: {{$grain->id}})</option> |
|
|
|
|
|
@endforeach |
|
|
|
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="amount">Amount</label> |
|
|
<label for="amount">Amount</label> |
|
|