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