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