<commit_before>- content_for :nav_secondary do
  %li.nav-secondary__item.nav-secondary__item--right
    = render 'comfy/admin/cms/sites/mirrors', object: @page

- content_for :right_column do
  #form-save.box
    %label.checkbox-inline
      %input{:type => 'checkbox'}
      = ::Comfy::Cms::Page.human_attribute_name(:is_published)
    %button.btn.btn-sm.btn-primary.pull-right
  = render 'comfy/admin/cms/files/index'

= render 'comfy/admin/cms/partials/page_form_before', object: form

.l-panel-content.l-panel-content--form
  .l-constrained{ data: dough_component(@page.new_record?, ['MirrorInputValue','Slugifier']) }
    .fixedsticky-background.fixedsticky-background--page-title.fixedsticky.top{"data-dough-sticky-element-target" => true}

    .form-group
      .form__input-wrapper
        = form.text_field :label, hide_label: true, class: 'form__input form__input--inline form__input--inline--page-title fixedsticky top fixedsticky-page-title', placeholder: 'Untitled page', data: { 'dough-slugifier-input' => '', 'dough-mirrorinputvalue-trigger' => '', slugify: @page.new_record?, "dough-sticky-element-target" => true}

    - if (options = ::Comfy::Cms::Layout.options_for_select(@site)).present?
      .form-group
        .form__label-heading
          = label_tag :layout_id
        .form__input-wrapper
          = form.select :layout_id, options, {}, 'data-url' => form_blocks_comfy_admin_cms_site_page_path(@site, @page.id.to_i)

    .form-group
      .form__label-heading
        = label_tag :slug
      .form__input-wrapper
        = form.text_field :slug, class: 'form__input', data: {'dough-slugifier-slug' => '', slug: true}
        %span.form__hint
          in #{ComfortableMexicanSofa.config.preview_domain}/#{@site.label}/articles/#{@page.slug}

    = render 'comfy/admin/cms/partials/page_form_inner', form: form
    = render 'comfy/admin/cms/categories/form',          form: form
    = render 'tags/shared/form',                         form: form

    .form-group
      .form__label-heading
        = label_tag :meta_description
      .form__input-wrapper
        = form.text_field :meta_description, class: 'form__input form__input--has-icon--right', data: {dough_component: 'CharacterCounter', dough_character_counter_max_chars: 160, dough_character_counter_context: 'meta-description'}
        %span.form__hint
          %span{data: {dough_character_counter_indicator: true, dough_character_counter_context: 'meta-description'}}
            0
          %span
            characters remaining
        %span.form__character-count-warning{data: {dough_character_counter_warning: true, dough_character_counter_context: 'meta-description', title: 'You are over the recommended limit of 160 characters, please shorten your text.'}}
          %span.fa.fa-warning

    .form-group
      .form__label-heading
        = label_tag :meta_title
      .form__input-wrapper
        = form.text_field :meta_title, class: 'form__input form__input--has-icon--right', data: {dough_mirrorinputvalue_target: '', dough_component: 'CharacterCounter', dough_character_counter_max_chars: 70, dough_character_counter_context: 'meta-title'}
        %span.form__hint
          %span{data: {dough_character_counter_indicator: true, dough_character_counter_context: 'meta-title'}}
            0
          %span
            characters remaining
        %span.form__character-count-warning{data: {dough_character_counter_warning: true, dough_character_counter_context: 'meta-title', title: 'You are over the recommended limit of 70 characters, please shorten your text.'}}
          %span.fa.fa-warning

    / = form.text_field :meta_description, data: {dough_component: 'CharacterCounter', dough_character_counter_max_chars: 160, dough_character_counter_context: 'meta-description'}, append: content_tag(:span, content_tag(:span, '0', data: {dough_character_counter_indicator: true, dough_character_counter_context: 'meta-description'}) + content_tag(:span, ' characters remaining'), class: 'form__hint') + content_tag(:span, content_tag(:span, '', class: 'fa fa-warning'), class: 'form__character-count-warning', title: 'You are over the recommended limit of 160 characters, please shorten your text.', data: {dough_character_counter_warning: true, dough_character_counter_context: 'meta-description'})
    / = form.text_field :meta_title, data: {dough_mirrorinputvalue_target: '', dough_component: 'CharacterCounter', dough_character_counter_max_chars: 70, dough_character_counter_context: 'meta-title'}, append: content_tag(:span, content_tag(:span, '0', data: {dough_character_counter_indicator: true, dough_character_counter_context: 'meta-title'}) + content_tag(:span, ' characters remaining'), class: 'form__hint') + content_tag(:span, content_tag(:span, '', class: 'fa fa-warning'), class: 'form__character-count-warning', title: 'You are over the recommended limit of 70 characters, please shorten your text.', data: {dough_character_counter_warning: true, dough_character_counter_context: 'meta-title'})
    = form.hidden_field :scheduled_on, data: {'dough-scheduler-on' => ''}

    .inline_checkboxes
      .form-group
        .form__label-heading
          &nbsp;
        .form__input-wrapper
					= label_tag do
          	= form.check_box :suppress_from_links_recirculation
						Suppress from links recirculation
					= label_tag do
						= form.check_box :regulated_box
						Regulated Content

= render partial: 'form_blocks'
= render 'scheduler', object: form

.nav-article.is-fixed
  .l-constrained
    .nav-article__inner
      %span.nav-article__item
        %span#t-status
          =@site.label.upcase
          Status:
          =current_status(@page.current_state)
          =@page.scheduled_on
      %span.nav-article__item
        %span.fa.fa-list-ul
        %a.button.button--article.button--h-capitalized.activity-log-button{ data: { dough_component: :Popover, dough_collapsable_trigger: 'activity-log', dough_popover_config: '{"isFixed": true, "direction": "top", "centerAlign": true, "hideOnBlur": true }' } }<commit_msg>Remove commented code<commit_after>- content_for :nav_secondary do
  %li.nav-secondary__item.nav-secondary__item--right
    = render 'comfy/admin/cms/sites/mirrors', object: @page

- content_for :right_column do
  #form-save.box
    %label.checkbox-inline
      %input{:type => 'checkbox'}
      = ::Comfy::Cms::Page.human_attribute_name(:is_published)
    %button.btn.btn-sm.btn-primary.pull-right
  = render 'comfy/admin/cms/files/index'

= render 'comfy/admin/cms/partials/page_form_before', object: form

.l-panel-content.l-panel-content--form
  .l-constrained{ data: dough_component(@page.new_record?, ['MirrorInputValue','Slugifier']) }
    .fixedsticky-background.fixedsticky-background--page-title.fixedsticky.top{"data-dough-sticky-element-target" => true}

    .form-group
      .form__input-wrapper
        = form.text_field :label, hide_label: true, class: 'form__input form__input--inline form__input--inline--page-title fixedsticky top fixedsticky-page-title', placeholder: 'Untitled page', data: { 'dough-slugifier-input' => '', 'dough-mirrorinputvalue-trigger' => '', slugify: @page.new_record?, "dough-sticky-element-target" => true}

    - if (options = ::Comfy::Cms::Layout.options_for_select(@site)).present?
      .form-group
        .form__label-heading
          = label_tag :layout_id
        .form__input-wrapper
          = form.select :layout_id, options, {}, 'data-url' => form_blocks_comfy_admin_cms_site_page_path(@site, @page.id.to_i)

    .form-group
      .form__label-heading
        = label_tag :slug
      .form__input-wrapper
        = form.text_field :slug, class: 'form__input', data: {'dough-slugifier-slug' => '', slug: true}
        %span.form__hint
          in #{ComfortableMexicanSofa.config.preview_domain}/#{@site.label}/articles/#{@page.slug}

    = render 'comfy/admin/cms/partials/page_form_inner', form: form
    = render 'comfy/admin/cms/categories/form',          form: form
    = render 'tags/shared/form',                         form: form

    .form-group
      .form__label-heading
        = label_tag :meta_description
      .form__input-wrapper
        = form.text_field :meta_description, class: 'form__input form__input--has-icon--right', data: {dough_component: 'CharacterCounter', dough_character_counter_max_chars: 160, dough_character_counter_context: 'meta-description'}
        %span.form__hint
          %span{data: {dough_character_counter_indicator: true, dough_character_counter_context: 'meta-description'}}
            0
          %span
            characters remaining
        %span.form__character-count-warning{data: {dough_character_counter_warning: true, dough_character_counter_context: 'meta-description', title: 'You are over the recommended limit of 160 characters, please shorten your text.'}}
          %span.fa.fa-warning

    .form-group
      .form__label-heading
        = label_tag :meta_title
      .form__input-wrapper
        = form.text_field :meta_title, class: 'form__input form__input--has-icon--right', data: {dough_mirrorinputvalue_target: '', dough_component: 'CharacterCounter', dough_character_counter_max_chars: 70, dough_character_counter_context: 'meta-title'}
        %span.form__hint
          %span{data: {dough_character_counter_indicator: true, dough_character_counter_context: 'meta-title'}}
            0
          %span
            characters remaining
        %span.form__character-count-warning{data: {dough_character_counter_warning: true, dough_character_counter_context: 'meta-title', title: 'You are over the recommended limit of 70 characters, please shorten your text.'}}
          %span.fa.fa-warning

    = form.hidden_field :scheduled_on, data: {'dough-scheduler-on' => ''}

    .inline_checkboxes
      .form-group
        .form__label-heading
          &nbsp;
        .form__input-wrapper
					= label_tag do
          	= form.check_box :suppress_from_links_recirculation
						Suppress from links recirculation
					= label_tag do
						= form.check_box :regulated_box
						Regulated Content

= render partial: 'form_blocks'
= render 'scheduler', object: form

.nav-article.is-fixed
  .l-constrained
    .nav-article__inner
      %span.nav-article__item
        %span#t-status
          =@site.label.upcase
          Status:
          =current_status(@page.current_state)
          =@page.scheduled_on
      %span.nav-article__item
        %span.fa.fa-list-ul
        %a.button.button--article.button--h-capitalized.activity-log-button{ data: { dough_component: :Popover, dough_collapsable_trigger: 'activity-log', dough_popover_config: '{"isFixed": true, "direction": "top", "centerAlign": true, "hideOnBlur": true }' } }
{'fraction_non_alphanumeric': 0.12370363449500141, 'fraction_numerical': 0.0033635429318882555, 'mean_word_length': 3.676277850589777, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 19, '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': '1858516', 'n_tokens_mistral': 3401, 'n_tokens_neox': 3278, 'n_words': 595}