<commit_before>!!! 5
%html
  %head
    %title= t("meta.title")
    %meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
    %meta{:description => "#{t('meta.description')}" }
    = csrf_meta_tag

    /[if lte IE 8]
      = stylesheet_link_tag 'ie'

    = stylesheet_link_tag 'application'
    = stylesheet_link_tag 'form_only'
    = javascript_include_tag 'application'
    = javascript_include_tag "i18n/#{ I18n.locale }"

    = yield :head

    - if ipad?
      %meta{:name=>"viewport", :content=>"width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"}

  %body#form-only{ class: I18n.locale }
    %header#top
      %a{ href: root_path }
        %img(src="/assets/header/logo400-blue@2x.png" width="400" height="49" alt="Energy Transition Model")

    #content
      = content_for?(:content) ? yield(:content) : yield

    :javascript
      I18n.defaultLocale = "#{I18n.default_locale}";
      I18n.locale = "#{I18n.locale}";

    = yield :scripts<commit_msg>Fix deprecation message in form_only layout<commit_after>!!! 5
%html
  %head
    %title= t("meta.title")
    %meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
    %meta{:description => "#{t('meta.description')}" }
    = csrf_meta_tag

    /[if lte IE 8]
      = stylesheet_link_tag 'ie'

    = stylesheet_link_tag 'application'
    = stylesheet_link_tag 'form_only'
    = javascript_include_tag 'application'
    = javascript_include_tag "i18n/#{ I18n.locale }", skip_pipeline: true

    = yield :head

    - if ipad?
      %meta{:name=>"viewport", :content=>"width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"}

  %body#form-only{ class: I18n.locale }
    %header#top
      %a{ href: root_path }
        %img(src="/assets/header/logo400-blue@2x.png" width="400" height="49" alt="Energy Transition Model")

    #content
      = content_for?(:content) ? yield(:content) : yield

    :javascript
      I18n.defaultLocale = "#{I18n.default_locale}";
      I18n.locale = "#{I18n.locale}";

    = yield :scripts
{'fraction_non_alphanumeric': 0.1691638472692122, 'fraction_numerical': 0.029966167230546157, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '2871956', 'n_tokens_mistral': 797, 'n_tokens_neox': 740, 'n_words': 130}