<commit_before>module BootstrapHelper
  def boot_page_title(action_or_title = nil, model = nil)
    if action_or_title.is_a? String
      title = action_or_title
    else
      title = t_title(action, model)
    end

    content_for :page_title, title
    content_tag(:div, :class => 'page-header') do
      content_tag(:h1, title)
    end
  end

  # Icons
  # =====
  def boot_icon(type)
    content_tag(:i, '', :class => "icon-#{type}")<commit_msg>Fix boot_page_title.<commit_after>module BootstrapHelper
  def boot_page_title(action_or_title = nil, model = nil)
    if action_or_title.is_a? String
      title = action_or_title
    else
      title = t_title(action_or_title, model)
    end

    content_for :page_title, title
    content_tag(:div, :class => 'page-header') do
      content_tag(:h1, title)
    end
  end

  # Icons
  # =====
  def boot_icon(type)
    content_tag(:i, '', :class => "icon-#{type}")
{'fraction_non_alphanumeric': 0.12336244541484716, 'fraction_numerical': 0.002183406113537118, 'mean_word_length': 3.345971563981043, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5913738', 'n_tokens_mistral': 326, 'n_tokens_neox': 323, 'n_words': 68}