<commit_before>%ul#search_list
  - unless @assets.empty?
    - @assets.each do |asset| 
      =# render :partial => 'asset', :locals => { :asset => asset, :page => @page }
      = render :partial => 'admin/assets/bucket_asset', :locals => { :asset_url => asset.asset.url, :asset_id => asset.id, :asset_type => 'image', :asset_title => asset.title, :asset_thumbnail => asset.thumbnail(:thumbnail), :page => @page }

  - else
    %li
      %p.note
        = t("paperclipped.no_assets_found")
      
%script
  Asset.MakeDroppables();
  Event.addBehavior({ '.asset a' : Asset.DisableLinks, 'a.add_asset' : Asset.AddToPage });

  <commit_msg>updated draggables after search<commit_after>%ul#search_list
  - unless @assets.empty?
    - @assets.each do |asset| 
      =# render :partial => 'asset', :locals => { :asset => asset, :page => @page }
      = render :partial => 'admin/assets/bucket_asset', :locals => { :asset_url => asset.asset.url, :asset_id => asset.id, :asset_type => 'image', :asset_title => asset.title, :asset_thumbnail => asset.thumbnail(:thumbnail), :page => @page }

  - else
    %li
      %p.note
        = t("paperclipped.no_assets_found")
      
%script
  Asset.MakeDroppables();
  Asset.MakeDraggables();
  Event.addBehavior({ '.asset a' : Asset.DisableLinks, 'a.add_asset' : Asset.AddToPage });

  
{'fraction_non_alphanumeric': 0.17754172989377845, 'fraction_numerical': 0.0, 'mean_word_length': 3.5482758620689654, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, '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': '7550784', 'n_tokens_mistral': 458, 'n_tokens_neox': 444, 'n_words': 88}