anchor.diff:  					</tr>
   				</thead>
   				<tbody>
  -					<% @resource_contexts.each do |resource_context| %>
  -						<%unless resource_context.resource_level == 'Institution'%>
  -							<tr>
  -								<td class="span1"><%= radio_button_tag :resource, resource_context.resource_id, checked: false %></td>							
  -								<td hidden><%= resource_context.resource_id %></td>							
  -								<td>
  -									<div class="toggle-links">
  -										<%= resource_context.resource.nil? ? " " : resource_context.resource.label %>
  -									</div>
  -								</td>
  -								<td><%= resource_type(resource_context) %></td>
  -								<td><%= resource_context.institution.nil? ? " " :  resource_context.institution.nickname %></td>
  -								<td><%= resource_context.resource.created_at.nil? ? " " :  resource_context.resource.created_at.strftime("%m/%d/%Y %I:%M%p") %></td>
  -								<td><%= resource_context.resource.updated_at.nil? ? " " :  resource_context.resource.updated_at.strftime("%m/%d/%Y %I:%M%p") %></td>
  -								<td hidden><%= resource_context.resource_level %></td>
  -								<td class="span1"><%= link_to raw(''),
  -												edit_customization_resource_path(id: resource_context.resource_id,
  -																	customization_id: @customization_overview_id,
  -																	template_id: @template_id,
  -																	resource_level: @resource_level,
  -																	requirement_id: @requirement_id,
  -																	tab_number: 		@tab_number,
  -																	tab: 						@tab,
  -																	custom_origin: @custom_origin,
  -			                            origin_url:     request.original_url),
  -									 			:class => 'icon edit-user' %>
  -								</td>
  -							</tr>
  +					<%if @resource_contexts.length < 1 && params[:q] %>
  +						<tr>
  +							<td>No results found</td>
  +						</tr>
  +					<%elsif @any_resource.count == 0 && params[:q].blank?%>
  +						<tr>
  +							<td>There are no existing resources</td>
  +						</tr>
  +					<%else%>
  +						<% @resource_contexts.each do |resource_context| %>
  +							<%unless resource_context.resource_level == 'Institution'%>
  +								<tr>
  +									<td class="span1"><%= radio_button_tag :resource, resource_context.resource_id, checked: false %></td>							
  +									<td hidden><%= resource_context.resource_id %></td>							
  +									<td>
  +										<div class="toggle-links">
  +											<%= resource_context.resource.nil? ? " " : resource_context.resource.label %>
  +										</div>
  +									</td>
  +									<td><%= resource_type(resource_context) %></td>
  +									<td><%= resource_context.institution.nil? ? " " :  resource_context.institution.nickname %></td>
  +									<td><%= resource_context.resource.created_at.nil? ? " " :  resource_context.resource.created_at.strftime("%m/%d/%Y %I:%M%p") %></td>
  +									<td><%= resource_context.resource.updated_at.nil? ? " " :  resource_context.resource.updated_at.strftime("%m/%d/%Y %I:%M%p") %></td>
  +									<td hidden><%= resource_context.resource_level %></td>
  +									<td class="span1"><%= link_to raw(''),
  +													edit_customization_resource_path(id: resource_context.resource_id,
  +																		customization_id: @customization_overview_id,
  +																		template_id: @template_id,
  +																		resource_level: @resource_level,
  +																		requirement_id: @requirement_id,
  +																		tab_number: 		@tab_number,
  +																		tab: 						@tab,
  +																		custom_origin: @custom_origin,
  +				                            origin_url:     request.original_url),
  +										 			:class => 'icon edit-user' %>
  +									</td>
  +								</tr>
  +							<%end%>
   						<%end%>
   					<% end %>
   				</tbody>
   			</table>
  -			<div class="buttons pagination">
  -				<%= submit_tag 'Link Selected Resource',  :class => "btn btn-green" %>
  -				<%= paginate @resource_contexts %>
  -			</div>
  +			<%if @any_resource.count > 0 && (params[:q].blank? || @resource_contexts.length > 0)%>
  +				<div class="buttons pagination">
  +					<%= submit_tag 'Link Selected Resource',  :class => "btn btn-green" %>
  +					<%= paginate @resource_contexts %>
  +				</div>
  +			<%end%>
   			<%= hidden_field_tag :template_id, @template_id  %>
   			<%= hidden_field_tag :resource_level, @resource_level  %>
   			<%= hidden_field_tag :requirement_id, @requirement_id  %>
  
positive.code: 		<div class="actions pull-left">
  			
  
  			<%= link_to '<< Back', 
  									"#{@origin_path}"+
  									'#'+
  									"#{@tab_number}",  
  									:class => "btn" %>
  		</div>
  
  	<%end%>
  	
  
negative.code: 
  <div class="row-fluid">
  
  	<%#if  (@any_resource.count >0 && @resource_contexts.length > 0) %>
  
  		<%#= render 'resource_search' %>
  
  		<%if @any_resource.count >0 %>
  			<%= render 'resource_search' %>
  		<%end%>
  		
  		<%= form_tag copy_selected_customization_resource_path, :method => :post  do %>
  			<table class="table table-striped">
  				<thead>
  