" />

  <script>
    function revertFormSubmit(event) {
      event.preventDefault();
    }
    document.addEventListener('DOMContentLoaded', function() {
      document.querySelectorAll('form.revert-form').forEach(function(el) {
        el.addEventListener('submit', function(e) {
          e.preventDefault()
          e.stopPropagation()

          if(confirm('Are you sure you want to revert the package "' +el.name.value+ '" to version "' +el.version.value+ '"')) {
            el.submit()
          }
     