<commit_before>{% extends "layout.html" %}
{% block title %}Delete{% endblock %}
{% block content %}
  <p>Really delete {{ identifier }}?<p>
  <form action="" method="post">
    <!--TODO need cancel button here?-->
    <p><input type="submit" class="btn btn-danger" value="Delete"></p>
  </form>
{% endblock %}
<commit_msg>Add cancel button to delete form<commit_after>{% extends "layout.html" %}
{% block title %}Delete{% endblock %}
{% block content %}
<script type="text/javascript">
  // TODO Move this to a global JS file
  function goBack() {
    window.history.back();
  }
</script>
  <p>Really delete {{ identifier }}?<p>
  <form action="" method="post">
    <!--TODO need cancel button here?-->
    <p><button onclick="goBack()">Cancel</button>  <input type="submit" value="Delete"></p>
  </form>
{% endblock %}

{'fraction_non_alphanumeric': 0.2046285018270402, 'fraction_numerical': 0.0, 'mean_word_length': 4.269230769230769, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '6305862', 'n_tokens_mistral': 275, 'n_tokens_neox': 252, 'n_words': 75}