Return to timer detail on delete cancel

This commit is contained in:
Christopher C. Wells 2021-07-31 13:15:23 -07:00
parent c2513ff843
commit c873f84a2c
1 changed files with 1 additions and 1 deletions

View File

@ -18,6 +18,6 @@
<h1>Are you sure you want to delete <span class="text-info">{{ object }}</span>?</h1>
{% endblocktrans %}
<input type="submit" value="{% trans "Delete" %}" class="btn btn-danger" />
<a href="/" class="btn btn-default">{% trans "Cancel" %}</a>
<a href="{% url 'core:timer-detail' object.id %}" class="btn btn-default">{% trans "Cancel" %}</a>
</form>
{% endblock %}