{% if delete_instance.id and delete_instance.get_delete_url and can_delete %}
    <input type="submit" class="btn red right" value="Delete" formaction="{{ delete_instance.get_delete_url }}"/>
{% endif %}
