<commit_before><div class='idea_show' id='idea_c_<%=idea.id%>' onmouseover="show_delete_link(<%=idea.id%>)" onmouseout="hide_delete_link(<%=idea.id%>)">
  <div class='details'>
    By <%=current_user.login == idea.user.login ? 'me' : "<b>#{idea.user.login}</b>"%> 
    <%= time_ago_in_words(idea.created_at)
%> <%="ago"%> (<%=formatted_time(idea.created_at)
%>)
  </div>
  
  <div class='idea_controls'>
   <a href="add_tags" onclick="$('add_tags_<%=idea.id%>').toggle();return false;"><%='add tags'[:add_tags]%></a>
  </div>
    <div id="add_tags_<%=idea.id%>" class="add_tags_panel" style="display:none;">
       <%=render :partial=>"ideas/add_tags", :locals=>{:idea=>idea}%>
    </div>
  
  <div class='content' id='content_<%=idea.id%>'>
    <%=html_encode(idea.body, true)%>
    <%=render :partial=>"ideas/idea_files", :locals=>{:files=>idea.files}%>
  </div>
  
  <%if current_user == idea.user%>
    <div class='delete_link_place'>
      <div id='delete_<%=idea.id%>' style='display:none;'>
       <%=link_to_remote "Edit", :url=>{ :action => "edit", :id => idea}%>&nbsp;&nbsp;
        <%=link_to_remote "Delete", :url=>{ :action => "destroy", :id => idea},  :method => :delete, :confirm=>"Sure?", :html=>{:class=>'delete_file_link'}%>
      </div>
    </div>
  <%end%>
  
    <div class='tags' id="tags_<%=idea.id%>" <%if idea.visible_tags_for(current_user).length == 0%>style="display:none;"<%end%>>
        <%=render :partial=>'ideas/tags', :locals=>{:tags=>idea.visible_tags_for(current_user), :idea=>idea}%>
   </div>
</div>
<commit_msg>fixed edit on search page<commit_after><div class='idea_show' id='idea_c_<%=idea.id%>' onmouseover="show_delete_link(<%=idea.id%>)" onmouseout="hide_delete_link(<%=idea.id%>)">
  <div class='details'>
    By <%=current_user.login == idea.user.login ? 'me' : "<b>#{idea.user.login}</b>"%> 
    <%= time_ago_in_words(idea.created_at)
%> <%="ago"%> (<%=formatted_time(idea.created_at)
%>)
  </div>
  
  <div class='idea_controls'>
   <a href="add_tags" onclick="$('add_tags_<%=idea.id%>').toggle();return false;"><%='add tags'[:add_tags]%></a>
  </div>
    <div id="add_tags_<%=idea.id%>" class="add_tags_panel" style="display:none;">
       <%=render :partial=>"ideas/add_tags", :locals=>{:idea=>idea}%>
    </div>
  
  <div class='content' id='content_<%=idea.id%>'>
    <%=html_encode(idea.body, true)%>
    <%=render :partial=>"ideas/idea_files", :locals=>{:files=>idea.files}%>
  </div>
  
  <%if current_user == idea.user%>
    <div class='delete_link_place'>
      <div id='delete_<%=idea.id%>' style='display:none;'>
       <%=link_to_remote "Edit", :url=>{:controller=>"ideas", :action => "edit", :id => idea}%>&nbsp;&nbsp;
        <%=link_to_remote "Delete", :url=>{:controller=>"ideas", :action => "destroy", :id => idea},  :method => :delete, :confirm=>"Sure?", :html=>{:class=>'delete_file_link'}%>
      </div>
    </div>
  <%end%>
  
    <div class='tags' id="tags_<%=idea.id%>" <%if idea.visible_tags_for(current_user).length == 0%>style="display:none;"<%end%>>
        <%=render :partial=>'ideas/tags', :locals=>{:tags=>idea.visible_tags_for(current_user), :idea=>idea}%>
   </div>
</div>

{'fraction_non_alphanumeric': 0.2620558375634518, 'fraction_numerical': 0.0006345177664974619, 'mean_word_length': 5.395537525354969, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 131, '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': '3492038', 'n_tokens_mistral': 1289, 'n_tokens_neox': 1226, 'n_words': 168}