|
@ -43,7 +43,7 @@ |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="alternative">Alternative (ID)</label> |
|
|
<label for="alternative">Alternative (ID)</label> |
|
|
<select class="form-control" name="alternative"> |
|
|
<select class="form-control" name="alternative"> |
|
|
<option value="" @if (is_null($fermentation->alternative)) selected="selected" @endif>None suggested</option> |
|
|
|
|
|
|
|
|
<option value="">None suggested</option> |
|
|
@foreach ($yeasts as $yeast) |
|
|
@foreach ($yeasts as $yeast) |
|
|
<option value="{{$yeast->id}}" {{ !(is_null($fermentation->alternative)) & $selected_alt == $yeast->id ? 'selected="selected"' : '' }}>{{$yeast->name}}</option> |
|
|
<option value="{{$yeast->id}}" {{ !(is_null($fermentation->alternative)) & $selected_alt == $yeast->id ? 'selected="selected"' : '' }}>{{$yeast->name}}</option> |
|
|
@endforeach |
|
|
@endforeach |
|
|