<commit_before>!!!
%html
%head
  %meta{ charset: "utf-8" }
  %meta{ 'http-equiv' => "X-UA-Compatible", content: "IE=edge" }
  %meta{ name: "viewport", content: "width=device-width, initial-scale=1, shrink-to-fit=no" }
  %title
    = Option.get(:app_name, 'School')
    = " - #{show_title}" if show_title.present?
  = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true
  = javascript_include_tag 'application', 'data-turbolinks-track' => true
  = csrf_meta_tags

%body{ id: controller_name, class: action_name }
  %nav{ class: "navbar navbar-full navbar-dark #{Option.get(:navbar_background, 'bg-primary')}" }
    %button.navbar-toggler.hidden-sm-up.pull-xs-left{ type: "button", data: { toggle: "collapse", target: "#main-nav" } } &#9776;
    .container
      = link_to Option.get(:app_name, 'School'), root_url, class: 'navbar-brand'
      %ul.nav.navbar-nav.pull-xs-right
        %li.nav-item.nav-item-text= current_user.name
        %li.nav-item= link_to t('text.sign_out'), destroy_user_session_path, method: :delete, class: 'nav-link'

  #container.container
    .row
      .col-sm-4.col-lg-2
        = render 'layouts/nav'
      #content.col-sm-8.col-lg-10
        = show_flash
        = show_errors

        = yield<commit_msg>Layout was wrongly indented, so turbolinks had some problems.<commit_after>!!!
%html
  %head
    %meta{ charset: "utf-8" }
    %meta{ 'http-equiv' => "X-UA-Compatible", content: "IE=edge" }
    %meta{ name: "viewport", content: "width=device-width, initial-scale=1, shrink-to-fit=no" }
    %title
      = Option.get(:app_name, 'School')
      = " - #{show_title}" if show_title.present?
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true
    = javascript_include_tag 'application', 'data-turbolinks-track' => true
    = csrf_meta_tags

  %body{ id: controller_name, class: action_name }
    %nav{ class: "navbar navbar-full navbar-dark #{Option.get(:navbar_background, 'bg-primary')}" }
      %button.navbar-toggler.hidden-sm-up.pull-xs-left{ type: "button", data: { toggle: "collapse", target: "#main-nav" } } &#9776;
      .container
        = link_to Option.get(:app_name, 'School'), root_url, class: 'navbar-brand'
        %ul.nav.navbar-nav.pull-xs-right
          %li.nav-item.nav-item-text= current_user.name
          %li.nav-item= link_to t('text.sign_out'), destroy_user_session_path, method: :delete, class: 'nav-link'

    #container.container
      .row
        .col-sm-4.col-lg-2
          = render 'layouts/nav'
        #content.col-sm-8.col-lg-10
          = show_flash
          = show_errors

          = yield
{'fraction_non_alphanumeric': 0.16780561883067577, 'fraction_numerical': 0.008352315869400152, 'mean_word_length': 3.195859872611465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '5816991', 'n_tokens_mistral': 968, 'n_tokens_neox': 937, 'n_words': 173}