<div class="widget saved-search-widget clearfix"> <h3 id="search">{{$title}}</h3> {{$searchbox}} <ul id="saved-search-list" class="nav nav-pills flex-column"> {{foreach $saved as $search}} <li class="nav-item nav-item-hack" id="search-term-{{$search.id}}"> <a class="nav-link widget-nav-pills-icons" title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" href="{{$search.dellink}}"><i id="dropfa-floppy-od-search-term-{{$search.id}}" class="fa fa-trash-o drop-icons" ></i></a> <a id="saved-search-term-{{$search.id}}" class="nav-link{{if $search.selected}} active{{/if}}" href="{{$search.srchlink}}">{{$search.displayterm}}</a> </li> {{/foreach}} </ul> </div>