<% content_for :header_tags do %> <%= javascript_include_tag "/assets/codemirror/codemirror_python_ruby_c" %> <%= stylesheet_link_tag "/assets/codemirror/codemirror" %> <%= stylesheet_link_tag "/assets/codemirror/merge" %> <%= javascript_include_tag "https://cdnjs.cloudflare.com/ajax/libs/diff_match_patch/20121119/diff_match_patch.js"%> <%= javascript_include_tag "/assets/codemirror/merge" %> <% end %>

<%=src_name%>

<% if @simi_value.to_i >= 90 %>
相似度<%=@simi_value.to_i%>%
<% else %>
相似度<%=@simi_value.to_i%>%
<% end %>

<%=dst_name%>