anchor.diff:      <% end -%>
   
       <% if new_version %>
  +        $('text_for_new_version').style['display'] = 'block';
           listFilesOfPreviousVersion();
       <% end %>
   
  
positive.code:       <p>
          You are about to upload a new version of this <%= resource.class.name.humanize -%>. You should only upload a new version if you have made minor modifications, such as tidying up or fixing errors, that do not change the original purpose
          of the file. If you think this new version changes the original purpose or meaning of the <%= resource.class.name.humanize -%>, then you should <span style="text-decoration: underline"><%= link_to "upload it as a new item",polymorphic_path(resource,:action=>:new) -%> </span>
          rather than create a new version.
        </p>
    <% end -%>
  </div>
  
negative.code:     </ul>
    </div>
  
    <p id='text_for_new_version' style="display:none; margin-bottom:0.5em;"> Here are the files/urls from previous version, you can remove them or add new files/urls: </p>
  
    <table id="pending_files">
  
    </table>
  </div>
  
  