<commit_before>%li{:id => dom_id_for(section, :container), :class => 'menu container_element' }
  %div{ :id => dom_id_for(section, :item), :class => section.activity.changeable?(current_user) ? 'item movable' : 'item' }
    %div.action_menu
      %div.action_menu_header_left   
        =link_to name_for_component(section), section
      %div.action_menu_header_right   
        %ul.menu
          %li= run_link_for(section)
          - if (section.changeable?(current_user))
            %li= link_to 'duplicate', duplicate_section_url(section)
            / %li= link_to 'edit', section
            / %li.menu=toggle_more section
            %li.menu=link_to_remote 'delete', :confirm => "delete section #{section.name}?", :url => { :controller => 'activities', :action => 'delete_section', :params => {:id=>section.activity.id, :section_id => section.id}}, :html => {:class=>"delete"}
    %div{:id => dom_id_for(section, :details), :class => 'content', :style =>'display:block;'}
      = section.description
      %ul.tiny
      - section.pages.each_with_index do |page, i|
        %li.tiny
          = link_to "page: #{i+1}: #{page.name}", page
          %span.tiny= page.description<commit_msg>trying to pages to be selectable in sections. First step towards copy and paste.<commit_after>%li{:id => dom_id_for(section, :container), :class => 'menu container_element' }
  %div{ :id => dom_id_for(section, :item), :class => section.activity.changeable?(current_user) ? 'item movable' : 'item' }
    %div.action_menu
      %div.action_menu_header_left   
        =link_to name_for_component(section), section
      %div.action_menu_header_right   
        %ul.menu
          %li= run_link_for(section)
          - if (section.changeable?(current_user))
            %li= link_to 'duplicate', duplicate_section_url(section)
            / %li= link_to 'edit', section
            / %li.menu=toggle_more section
            %li.menu=link_to_remote 'delete', :confirm => "delete section #{section.name}?", :url => { :controller => 'activities', :action => 'delete_section', :params => {:id=>section.activity.id, :section_id => section.id}}, :html => {:class=>"delete"}
    %div{:id => dom_id_for(section, :details), :class => 'content item_selectable', :style =>'display:block;'}
      = section.description
      %ul.tiny
      - section.pages.each_with_index do |page, i|
        %li.tiny
          = link_to "page: #{i+1}: #{page.name}", page
          %span.tiny= page.description
{'fraction_non_alphanumeric': 0.16041918581217252, 'fraction_numerical': 0.0008061265618702137, 'mean_word_length': 3.3015597920277298, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 35, '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': '2488173', 'n_tokens_mistral': 789, 'n_tokens_neox': 786, 'n_words': 161}