<commit_before>.page{:id => "page_#{page_part.name.to_slug}", 'data-caption'=>h(page_part.name)}
  .part{:id => "part-#{page_part.name.to_slug}"}
    = hidden_field_tag "page[parts_attributes][#{page_part_counter}][name]", page_part.name, :id => "part_#{page_part.name.to_slug}_name"
    = hidden_field_tag "page[parts_attributes][#{page_part_counter}][id]", page_part.id, :id => "part_#{page_part_counter}_id", :class => "id_input" unless page_part.new_record?
    = hidden_field_tag "page[parts_attributes][#{page_part_counter}][_destroy]", page_part._destroy, :class => "delete_input"
    %p
      %label{:for => "part_#{page_part.name.to_slug}_filter_id"} 
        = t('filter') 
      = select_tag "page[parts_attributes][#{page_part_counter}][filter_id]", filter_options_for_select(page_part.filter_id), :id => "part_#{page_part.name.to_slug}_filter_id"
      %span.toolbar
        = link_to t('assets_extension.assets'), '#attach_asset', :class => 'popup', :style => 'color: #666'
      %span.reference_links
        = t('reference')<commit_msg>remove assets link from toolbar until the new toolbar ui arrives. closes #21<commit_after>.page{:id => "page_#{page_part.name.to_slug}", 'data-caption'=>h(page_part.name)}
  .part{:id => "part-#{page_part.name.to_slug}"}
    = hidden_field_tag "page[parts_attributes][#{page_part_counter}][name]", page_part.name, :id => "part_#{page_part.name.to_slug}_name"
    = hidden_field_tag "page[parts_attributes][#{page_part_counter}][id]", page_part.id, :id => "part_#{page_part_counter}_id", :class => "id_input" unless page_part.new_record?
    = hidden_field_tag "page[parts_attributes][#{page_part_counter}][_destroy]", page_part._destroy, :class => "delete_input"
    %p
      %label{:for => "part_#{page_part.name.to_slug}_filter_id"} 
        = t('filter') 
      = select_tag "page[parts_attributes][#{page_part_counter}][filter_id]", filter_options_for_select(page_part.filter_id), :id => "part_#{page_part.name.to_slug}_filter_id"
      / bring this back when the new toolbar ui arrives
      / %span.toolbar
      /   = link_to t('assets_extension.assets'), '#attach_asset', :class => 'popup', :style => 'color: #666'
      %span.reference_links
        = t('reference')
{'fraction_non_alphanumeric': 0.17647058823529413, 'fraction_numerical': 0.003592276605298608, 'mean_word_length': 5.611275964391691, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, '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': '2551053', 'n_tokens_mistral': 783, 'n_tokens_neox': 799, 'n_words': 108}