|
@ -17,12 +17,20 @@ |
|
|
@method('PATCH') |
|
|
@method('PATCH') |
|
|
@csrf |
|
|
@csrf |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="beer_id">Beer ID</label> |
|
|
|
|
|
<input type="text" class="form-control" name="beer_id" value="{{$adjunctaddition->beer_id}}" /> |
|
|
|
|
|
|
|
|
<label for="beer_id">Beer</label> |
|
|
|
|
|
<select class="form-control" name="beer_id"> |
|
|
|
|
|
@foreach ($beers as $beer) |
|
|
|
|
|
<option value="{{$beer->beer_id}}" {{ $selected_beer == $beer->beer_id ? 'selected="selected"' : '' }}>{{$beer->name}}</option> |
|
|
|
|
|
@endforeach |
|
|
|
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="adjunct_id">Adjunct ID</label> |
|
|
|
|
|
<input type="text" class="form-control" name="adjunct_id" value="{{$adjunctaddition->adjunct_id}}" /> |
|
|
|
|
|
|
|
|
<label for="adjunct_id">Adjunct</label> |
|
|
|
|
|
<select class="form-control" name="adjunct_id"> |
|
|
|
|
|
@foreach ($adjuncts as $adjunct) |
|
|
|
|
|
<option value="{{$adjunct->id}}" {{ $selected_adjunct == $adjunct->id ? 'selected="selected"' : '' }}>{{$adjunct->name}}</option> |
|
|
|
|
|
@endforeach |
|
|
|
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="amount">Amount</label> |
|
|
<label for="amount">Amount</label> |
|
@ -33,8 +41,13 @@ |
|
|
<input type="text" maxlength="10" class="form-control" name="timing" value="{{$adjunctaddition->timing}}" /> |
|
|
<input type="text" maxlength="10" class="form-control" name="timing" value="{{$adjunctaddition->timing}}" /> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="alternative">Alternative (ID)</label> |
|
|
|
|
|
<input type="text" class="form-control" name="alternative" value="{{$adjunctaddition->alternative}}" /> |
|
|
|
|
|
|
|
|
<label for="alternative">Alternative</label> |
|
|
|
|
|
<select class="form-control" name="alternative"> |
|
|
|
|
|
<option value="">None suggested</option> |
|
|
|
|
|
@foreach ($adjuncts as $adjunct) |
|
|
|
|
|
<option value="{{$adjunct->id}}" {{ $selected_alt == $adjunct->alternative ? 'selected="selected"' : '' }}>{{$adjunct->name}}</option> |
|
|
|
|
|
@endforeach |
|
|
|
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="notes">Notes</label> |
|
|
<label for="notes">Notes</label> |
|
|