{% import "net/http" %} This dialog is to be shown to a user when they try to delete a hypha. {% func DeleteAskHTML(rq *http.Request, hyphaName string, isOld bool) %}
{%= navHTML(rq, hyphaName, "delete-ask") %} {% if isOld %}

Delete {%s hyphaName %}?

Do you really want to delete hypha {%s hyphaName %}?

In this version of MycorrhizaWiki you cannot undelete a deleted hypha but the history can still be accessed.

Confirm

Cancel

{% else %} {%= cannotDeleteDueToNonExistence(hyphaName) %} {% endif %}
{% endfunc %} {% func cannotDeleteDueToNonExistence(hyphaName string) %}

Cannot delete {%s hyphaName %}

This hypha does not exist.

Go back

{% endfunc %}