<commit_before>= render :partial => "shared/advanced_tiny_mce"
= render :partial => "shared/forms/title"
- form_for(@object) do |f|
  = f.error_messages
  = f.hidden_field :parent_id
  %div
    = f.label :page_type, "Type", {:class => 'required'}
    = f.select :page_type, Page::TYPES
  %div
    = f.label :title, nil, {:class => 'required'}
    .small The main title when viewing the page, and the navigation label.
    = f.text_field :title
  %div
    = f.label :description, nil, {:class => 'required'}
    .small Description shows on the navigation tooltip.
    = f.text_area :description, :class => "mceNoEditor small"
  %div
    = f.label :content, nil, {:class => 'required'}
    = f.text_area :content, :class => "mceEditor"
  %fieldset
    %legend Advanced functions
    .small Please be careful, as checking these can have dramatic affects on your site; you may have only one of each.
    %div.checkbox
      %div
        = f.check_box :is_home_page
        = f.label :is_home_page
      %div
        = f.check_box :is_admin_home_page
        = f.label :is_admin_home_page
  %fieldset
    %legend Advanced functions
    %div
      = f.label :sass
      %p.small Comma separated list of sass files to link on this page
      = f.text_field :sass
    %fieldset
      %legend Pathing
      %p.small You may use this field to enter custom routes for the page.
      %div
        = f.label :advanced_path<commit_msg>Added some more info text by input fields.<commit_after>= render :partial => "shared/advanced_tiny_mce"
= render :partial => "shared/forms/title"
- form_for(@object) do |f|
  = f.error_messages
  = f.hidden_field :parent_id
  %div
    = f.label :page_type, "Type", {:class => 'required'}
    = f.select :page_type, Page.get_available_types
  %div
    = f.label :title, nil, {:class => 'required'}
    .small The main title when viewing the page, and the navigation label.
    = f.text_field :title
  %div
    = f.label :description, nil, {:class => 'required'}
    .small Description shows on the navigation tooltip.
    = f.text_area :description, :class => "mceNoEditor small"
  %div
    = f.label :content, nil, {:class => 'required'}
    = f.text_area :content, :class => "mceEditor"
  %fieldset
    %legend Advanced functions
    .small Please be careful, as checking these can have dramatic affects on your site; you may have only one of each.
    %div.checkbox
      %div
        = f.check_box :is_home_page
        = f.label :is_home_page
      %div
        = f.check_box :is_admin_home_page
        = f.label :is_admin_home_page
  %fieldset
    %legend Advanced functions
    %div
      = f.label :sass
      %p.small Comma separated list of Sass (Syntactically Awesome StyleSheets) files to link on this page.
      = f.text_field :sass
    %fieldset
      %legend Pathing
      %p.small You may use this field to enter custom routes for the page.
      %div
        = f.label :advanced_path
{'fraction_non_alphanumeric': 0.108450222374273, 'fraction_numerical': 0.0, 'mean_word_length': 2.867724867724868, 'pattern_counts': {'":': 0, '<': 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': '99269', 'n_tokens_mistral': 949, 'n_tokens_neox': 930, 'n_words': 301}