{% extends "ticket.html" %}
{% block title %}
<title>
  Delete {{ ticket.ref() }}: {{ ticket.title }}
  &mdash;
  {{ cfg("sr.ht", "site-name") }} todo
</title>
{% endblock %}

{% block content %}
<div class="container">
  <div class="row">
    <div class="col-md-12">
      <h3 class="ticket-title">
        <div id="title-field">
          {{ticket.title}}
        </div>
      </h3>
      <p>
        This will permanently delete this ticket and all of its comments. This
        cannot be undone.
      </p>
      <form method="POST">
        {{csrf_token()}}
        <button type="submit" class="btn btn-danger">
          Proceed and delete {{icon("caret-right")}}
        </button>
        <a
          href="/{{ tracker.owner }}/{{ tracker.name }}"
          class="btn btn-default"
        >Nevermind</a>
      </form>
    </div>
  </div>
</div>
{% endblock %}
