<commit_before><%= render :partial => "features/top" %>

<% 
	secondary_tabs = [["Home", "#{ActionController::Base.relative_url_root}/"]]
  secondary_tabs << ["Place", feature_path(@feature.fid)] unless @feature.nil?
  secondary_tabs << ["Essays (#{@feature.descriptions.length})", feature_description_path(@feature, @feature.descriptions.first)] if !@feature.nil? && !@feature.descriptions.empty?
	secondary_tabs << ["Related", related_feature_path(@feature)] unless @feature.nil?
	secondary_tabs << [@object_type, "#RelatedPlaces"] unless @feature.nil?
%>

      <%= un_secondary_tabs secondary_tabs, secondary_tabs.length-1 %>
  
      <div class="left" id="RelatedPlaces">
        <div class="has-right-margin has-ajax-pagination">
					<h2>Places Associated with <%= @object_title %></h2>
          <div class="pagination-click-results">
            <%= render :partial => "features/list" %>
          </div>
          <p>
          <%= link_to "#{@object_title} in #{@object_type.humanize.pluralize}", @object_url %>
          </p>
        </div>
			</div>

<%= javascript_on_load "document.title = 'THL Place Dictionary of Tibet & the Himalayas'" %>

<script type="text/javascript">
jQuery(document).ready(function(){

  // Ajaxify the pagination for lists of features
  jQuery('.has-ajax-pagination .pagination a').live('click', function() {
    var this_link = this;
    jQuery.ajax({
      type: 'GET',
      url: this.href,<commit_msg>Removing the outdated un_secondary_tabs call from features/list<commit_after><%= render :partial => "features/top" %>
  
      <div class="left" id="RelatedPlaces">
        <div class="has-right-margin has-ajax-pagination">
					<h2>Places Associated with <%= @object_title %></h2>
          <div class="pagination-click-results">
            <%= render :partial => "features/list" %>
          </div>
          <p>
          <%= link_to "#{@object_title} in #{@object_type.humanize.pluralize}", @object_url %>
          </p>
        </div>
			</div>

<%= javascript_on_load "document.title = 'THL Place Dictionary of Tibet & the Himalayas'" %>

<script type="text/javascript">
jQuery(document).ready(function(){

  // Ajaxify the pagination for lists of features
  jQuery('.has-ajax-pagination .pagination a').live('click', function() {
    var this_link = this;
    jQuery.ajax({
      type: 'GET',
      url: this.href,
{'fraction_non_alphanumeric': 0.16807432432432431, 'fraction_numerical': 0.0021114864864864866, 'mean_word_length': 3.5038022813688214, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '4018013', 'n_tokens_mistral': 782, 'n_tokens_neox': 725, 'n_words': 156}