| 
						
						
						
					 | 
					 | 
					@ -1,4 +1,4 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<% item_label = format_label(@pagy.count, "organisation") %> | 
					 | 
					 | 
					 | 
					<% item_label = format_label(@pagy.count, "housing provider") %> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<% title = "Housing Providers" %> | 
					 | 
					 | 
					 | 
					<% title = "Housing Providers" %> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<% content_for :title, title %> | 
					 | 
					 | 
					 | 
					<% content_for :title, title %> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -22,12 +22,11 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  <%= govuk_button_link_to "Add a housing provider", new_housing_provider_path(organisation_id: @organisation.id), html: { method: :get } %> | 
					 | 
					 | 
					 | 
					  <%= govuk_button_link_to "Add a housing provider", new_housing_provider_path(organisation_id: @organisation.id), html: { method: :get } %> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<% end %> | 
					 | 
					 | 
					 | 
					<% end %> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<% if @total_count != 0 %> | 
					 | 
					 | 
					 | 
					<% if @total_count != 0 %> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  <%= render SearchComponent.new(current_user:, search_label: "Search for a housing provider", value: @searched) %> | 
					 | 
					 | 
					 | 
					  <%= render SearchComponent.new(current_user:, search_label: "Search for a housing provider", value: @searched) %> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  <%= govuk_section_break(visible: true, size: "m") %> | 
					 | 
					 | 
					 | 
					  <%= govuk_section_break(visible: true, size: "m") %> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  <%= render partial: "housing_providers/housing_provider_list", locals: { organisations: @organisations, title: "Organisations", pagy: @pagy, searched: @searched, item_label:, total_count: @total_count } %> | 
					 | 
					 | 
					 | 
					  <%= render partial: "housing_providers/housing_provider_list", locals: { housing_providers: @housing_providers, title: "Housing providers", pagy: @pagy, searched: @searched, item_label:, total_count: @total_count } %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  <%== render partial: "pagy/nav", locals: { pagy: @pagy, item_name: "organisations" } %> | 
					 | 
					 | 
					 | 
					  <%== render partial: "pagy/nav", locals: { pagy: @pagy, item_name: "housing providers" } %> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<% end %> | 
					 | 
					 | 
					 | 
					<% end %> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
  |