<commit_before>!!!
%html{:lang => "en", "xmlns:fb" => "http://ogp.me/ns/fb#"}
  %head
    %meta{:charset => "utf-8"}
    %meta{"http-equiv" => "X-UA-Compatible", :content => "IE=edge,chrome=1"}
    %meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"}
    - if browser.ie?
      %link{:href => "/assets/application_ie.css", :media => "screen", :rel => "stylesheet", :type => "text/css"}
    - else
      = stylesheet_link_tag :application
    %title= content_for?(:title) ? yield(:title) : @title
    = csrf_meta_tags
    = yield :meta_tags

    / Le HTML5 shim, for IE6-8 support of HTML elements
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
    <![endif]-->
    = configure_google_analytics
    %meta{property:'fb:app_id', content:social_media_config[:facebook][:app_id]}
    %meta{property:'fb:admins', content:social_media_config[:facebook][:admins]}

  - if !current_user.nil? && (current_user.is_admin? || current_user.is_super_user?)
    - admin_toggle = 'admin'

  %body{ :class => [admin_toggle, @petition_layout] }
    #left
    #right
    #top
    #content
      = render :partial =>  "shared/navigation"
      .flash_message= render :partial => 'shared/flash_messages'
      = yield
    = render :partial =>  "shared/footer"
    = javascript_include_tag :application
    %script{type: "text/javascript"}
      = yield :javascripts<commit_msg>fix layout issue on petition page<commit_after>!!!
%html{:lang => "en", "xmlns:fb" => "http://ogp.me/ns/fb#"}
  %head
    %meta{:charset => "utf-8"}
    %meta{"http-equiv" => "X-UA-Compatible", :content => "IE=edge,chrome=1"}
    %meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"}
    - if browser.ie?
      %link{:href => "/assets/application_ie.css", :media => "screen", :rel => "stylesheet", :type => "text/css"}
    - else
      = stylesheet_link_tag :application
    %title= content_for?(:title) ? yield(:title) : @title
    = csrf_meta_tags
    = yield :meta_tags

    / Le HTML5 shim, for IE6-8 support of HTML elements
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
    <![endif]-->
    = configure_google_analytics
    %meta{property:'fb:app_id', content:social_media_config[:facebook][:app_id]}
    %meta{property:'fb:admins', content:social_media_config[:facebook][:admins]}

  - if !current_user.nil? && (current_user.is_admin? || current_user.is_super_user?)
    - admin_toggle = 'admin'

  %body.classic{ :class => @petition_layout }
    #left
    #right
    #top
    #content
      = render :partial =>  "shared/navigation"
      .flash_message= render :partial => 'shared/flash_messages'
      = yield
    = render :partial =>  "shared/footer"
    = javascript_include_tag :application
    %script{type: "text/javascript"}
      = yield :javascripts
{'fraction_non_alphanumeric': 0.1804054054054054, 'fraction_numerical': 0.006756756756756757, 'mean_word_length': 3.7451923076923075, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3855183', 'n_tokens_mistral': 1037, 'n_tokens_neox': 1014, 'n_words': 185}