diff --git a/views/modal.qtpl b/views/modal.qtpl index 30994d6..c692862 100644 --- a/views/modal.qtpl +++ b/views/modal.qtpl @@ -6,44 +6,61 @@ {% code lc := l18n.FromRequest(rq) %} -{%= modalBegin( - "delete", - hyphaName, - ` method="post"`, - fmt.Sprintf(lc.Get("ui.ask_delete"), beautifulLink(hyphaName))) %} -
- {%s= lc.Get("ui.ask_really", &l18n.Replacements{"verb": lc.Get("ui.ask_delete_verb"), "name": fmt.Sprintf("%s", hyphaName)}) %} -
-{%s lc.Get("ui.ask_delete_tip") %}
-{%= modalEnd(hyphaName, true, lc) %} +- {%s= lc.Get("ui.ask_really", &l18n.Replacements{"verb": lc.Get("ui.ask_remove_media_verb"), "name": fmt.Sprintf("%s", hyphaName)}) %} -
-{%= modalEnd(hyphaName, true, lc) %} +