19 lines
905 B
HTML
19 lines
905 B
HTML
{% extends "_skel.html" %}
|
|
{% from "_formhelpers.html" import render_field %}
|
|
{% block title %}Delete accomplishment{% endblock %}
|
|
{% block content %}
|
|
<div class="section card">
|
|
<p><span class="font-bold">App:</span> {{ key.app_name }}</p>
|
|
<p><span class="font-bold">Description:</span> {{ key.description }}</p>
|
|
<p><span class="font-bold">Created:</span> {{ key.created_on }}</p>
|
|
<p><span class="font-bold">Last use:</span> {% if key.last_use %} {{ key.last_use }}{% else %}never{% endif %}
|
|
</div>
|
|
<div class="text-center section card">
|
|
<h3 class="text-lg">Are you sure you want to remove this API key?</h3>
|
|
<form class="mt-3" method="POST">
|
|
{{ form.csrf_token }}
|
|
{{ render_field(form.submit, label=False, mb="mb-2", class_="btn btn-red btn-wide btn-center") }}
|
|
<a href="{{ cancel }}" class="block text-xs link">cancel</a>
|
|
</form>
|
|
</div>
|
|
{% endblock %} |