<commit_before>{% include "loads/header.html" %}

<h2>{{ task.name }}</h2>

<table border="0">
  <tr>
    <th>
      Details
    </th>
    <td>
      {{ task.details}}
    </td>
  </tr>
  <tr>
    <th>
      Deadline
    </th>
    <td>
      {{ task.deadline }} ({{ task.deadline|timeuntil }})
      {% if overdue %}
      <span class="urgent">Overdue: {{ task.deadline|timesince }}</span>
      {% elif urgent %}
      <span class="urgent">Urgent</span>
      {% endif %}
      
    </td>
  </tr>
  {% if task.url %}
  <tr>
    <th>
      URL
    </th>
    <td>
      <a href="{{task.url}}">{{ task.url }}</a>
    </td>
  </tr>
  {% endif %}
  <tr>
    <th>
      Category
    </th>
    <td>
      {{ task.category}}
    </td>
  </tr>

</table>

<p>
Please confirm completion of this task by {{ staff }}, any comment is optional.
</p>

<form action="" method="post">
    {% csrf_token %}
    {{ form }}<commit_msg>Remind staff they don't need to enter the date.<commit_after>{% include "loads/header.html" %}

<h2>{{ task.name }}</h2>

<table border="0">
  <tr>
    <th>
      Details
    </th>
    <td>
      {{ task.details}}
    </td>
  </tr>
  <tr>
    <th>
      Deadline
    </th>
    <td>
      {{ task.deadline }} ({{ task.deadline|timeuntil }})
      {% if overdue %}
      <span class="urgent">Overdue: {{ task.deadline|timesince }}</span>
      {% elif urgent %}
      <span class="urgent">Urgent</span>
      {% endif %}
      
    </td>
  </tr>
  {% if task.url %}
  <tr>
    <th>
      URL
    </th>
    <td>
      <a href="{{task.url}}">{{ task.url }}</a>
    </td>
  </tr>
  {% endif %}
  <tr>
    <th>
      Category
    </th>
    <td>
      {{ task.category}}
    </td>
  </tr>

</table>

<p>
Please confirm completion of this task by {{ staff }}. The date and time you take this action is already recorded and any comment is optional. 
</p>

<form action="" method="post">
    {% csrf_token %}
    {{ form }}
{'fraction_non_alphanumeric': 0.2095435684647303, 'fraction_numerical': 0.0031120331950207467, 'mean_word_length': 1.9676923076923076, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '2129357', 'n_tokens_mistral': 759, 'n_tokens_neox': 727, 'n_words': 176}