<commit_before><%#= request.remote_ip %>
<%#= Geocoder.search("192.168.3.11").first.try(:latitude) %>
<%= render partial: 'search_form', locals:{search_mode: @search_mode, search_subtrip: @search_subtrip  } %>

<div id="search_subtrips">
	<div class="sidebar col-sm-2">
		<div class="panel panel-default ">
		  <div class="panel-heading">
		    <h3 class="panel-title"><%= t '.search_filters' %></h3>
		  </div>
		  <div class="panel-body">
		    <%= t '.comming_soon' %>
		  </div>
		</div>	
	</div>

	<div class="content col-sm-10 col-lg-8">
		<div class="panel panel-default">
	  	<div class="panel-body">
				<% if @subtrips && @subtrips.any? %>

					<%= render @subtrips %>	

				<% elsif @search_subtrip && @search_subtrip.errors.any? %>
					<%= error_messages_for(@search_subtrip) %>
				<% else %>
					<h3><%= t '.no_trip_registered' %></h3>
				<% end %>
			</div>
		<%= will_paginate @subtrips %>
		</div>
	</div>
</div><commit_msg>enclose will_paginate between if condition in search subtrips<commit_after><%#= request.remote_ip %>
<%#= Geocoder.search("192.168.3.11").first.try(:latitude) %>
<%= render partial: 'search_form', locals:{search_mode: @search_mode, search_subtrip: @search_subtrip  } %>

<div id="search_subtrips">
	<div class="sidebar col-sm-2">
		<div class="panel panel-default ">
		  <div class="panel-heading">
		    <h3 class="panel-title"><%= t '.search_filters' %></h3>
		  </div>
		  <div class="panel-body">
		    <%= t '.comming_soon' %>
		  </div>
		</div>	
	</div>

	<div class="content col-sm-10 col-lg-8">
		<div class="panel panel-default">
	  	<div class="panel-body">
				<% if @subtrips && @subtrips.any? %>

					<%= render @subtrips %>	

				<% elsif @search_subtrip && @search_subtrip.errors.any? %>
					<%= error_messages_for(@search_subtrip) %>
				<% else %>
					<h3><%= t '.no_trip_registered' %></h3>
				<% end %>
			</div>
			<% if @subtrips.try(:any?) %>
				<%= will_paginate @subtrips %>
			<% end %>	
		</div>
	</div>
</div>
{'fraction_non_alphanumeric': 0.21640664318067437, 'fraction_numerical': 0.017111222949169603, 'mean_word_length': 3.4875846501128667, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7545544', 'n_tokens_mistral': 929, 'n_tokens_neox': 750, 'n_words': 135}