<commit_before>.top
  .container
    .relic-bg
    = semantic_form_for(tsearch, :url => relics_path, :method => :get, :id => 'form-search') do |f|
      %h2= t('views.pages.home.header')
      .field.subject
        = f.input :q, :input_html => { :class => 'autocomplete-q'}
      .field.place
        = f.input :place, :input_html => { :class => 'autocomplete-place'}
      .field
        = link_to t('views.pages.home.how_it_works.title'), "#", :id => "how_it_works", :class => "js-popover how_it_works",
          :"data-title-id" => "how_it_works_title", :"data-content-id" => "how_it_works_content"
        %script{ :id => "how_it_works_title", :type => "text/html" }
          %p.how-it-works-title= t('views.pages.home.how_it_works.title')
          %p.close= link_to t('common.close'), "#", :class => "close_popover", :"data-popover-id" => "how_it_works"
        %script{ :id => "how_it_works_content", :type => "text/html" }
          .how-it-works-content
            %h4.what= t('views.pages.home.how_it_works.what')
            %p= t('views.pages.home.how_it_works.what_content')
            %h4.where= t('views.pages.home.how_it_works.where')
            %p= t('views.pages.home.how_it_works.where_content')
        = f.action :submit, :label => t('formtastic.actions.search_html', :editable => false), :button_html => { :name => nil }
    .relic-example
      %h3= t('views.pages.home.soon_header')
      - example_relic = Relic.random_filled
      .relic-container
        .image
          = image_tag example_relic.main_photo.file.url(:icon)
        .relic-content
          .relic-heading
            = link_to example_relic.identification, example_relic
          .status{:class => example_relic.state }= example_relic.state_name
          .location_name
            %strong= t('views.relics.relics.location')
            = format_localization(example_relic)
          - if example_relic.dating_of_obj?
            .date
              %strong= t('views.relics.relics.create_date')
              = example_relic.dating_of_obj
    .welcome
      %h3= t('views.pages.home.welcome.header')
      .left= t('views.pages.home.welcome.text')

      .right
        %ul
          %li= t('views.pages.home.welcome.li1')
          %li= t('views.pages.home.welcome.li2')
          %li= t('views.pages.home.welcome.li3')
          = link_to t('views.pages.home.welcome.more'), page_path('o-projekcie'), :class => 'btn'
.widgets-intro
  %ul
    %li.first
      %a{:href => widgets_path}
        %span.title= t('views.pages.home.widgets_intro.widget.title')
        %span.paragraph= t('views.pages.home.widgets_intro.widget.par')
    %li.alerts
      = link_to widgets_add_alerts_path, :method => :post do<commit_msg>fix: Main page remove link to add_alerts<commit_after>.top
  .container
    .relic-bg
    = semantic_form_for(tsearch, :url => relics_path, :method => :get, :id => 'form-search') do |f|
      %h2= t('views.pages.home.header')
      .field.subject
        = f.input :q, :input_html => { :class => 'autocomplete-q'}
      .field.place
        = f.input :place, :input_html => { :class => 'autocomplete-place'}
      .field
        = link_to t('views.pages.home.how_it_works.title'), "#", :id => "how_it_works", :class => "js-popover how_it_works",
          :"data-title-id" => "how_it_works_title", :"data-content-id" => "how_it_works_content"
        %script{ :id => "how_it_works_title", :type => "text/html" }
          %p.how-it-works-title= t('views.pages.home.how_it_works.title')
          %p.close= link_to t('common.close'), "#", :class => "close_popover", :"data-popover-id" => "how_it_works"
        %script{ :id => "how_it_works_content", :type => "text/html" }
          .how-it-works-content
            %h4.what= t('views.pages.home.how_it_works.what')
            %p= t('views.pages.home.how_it_works.what_content')
            %h4.where= t('views.pages.home.how_it_works.where')
            %p= t('views.pages.home.how_it_works.where_content')
        = f.action :submit, :label => t('formtastic.actions.search_html', :editable => false), :button_html => { :name => nil }
    .relic-example
      %h3= t('views.pages.home.soon_header')
      - example_relic = Relic.random_filled
      .relic-container
        .image
          = image_tag example_relic.main_photo.file.url(:icon)
        .relic-content
          .relic-heading
            = link_to example_relic.identification, example_relic
          .status{:class => example_relic.state }= example_relic.state_name
          .location_name
            %strong= t('views.relics.relics.location')
            = format_localization(example_relic)
          - if example_relic.dating_of_obj?
            .date
              %strong= t('views.relics.relics.create_date')
              = example_relic.dating_of_obj
    .welcome
      %h3= t('views.pages.home.welcome.header')
      .left= t('views.pages.home.welcome.text')

      .right
        %ul
          %li= t('views.pages.home.welcome.li1')
          %li= t('views.pages.home.welcome.li2')
          %li= t('views.pages.home.welcome.li3')
          = link_to t('views.pages.home.welcome.more'), page_path('o-projekcie'), :class => 'btn'
.widgets-intro
  %ul
    %li.first
      %a{:href => widgets_path}
        %span.title= t('views.pages.home.widgets_intro.widget.title')
        %span.paragraph= t('views.pages.home.widgets_intro.widget.par')
    %li.alerts
      %a{:href => widgets_path}
{'fraction_non_alphanumeric': 0.16464311994113318, 'fraction_numerical': 0.0029433406916850625, 'mean_word_length': 2.5420195439739413, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 53, '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': '945578', 'n_tokens_mistral': 1940, 'n_tokens_neox': 1913, 'n_words': 272}