diff --git a/views/modal.qtpl b/views/modal.qtpl index 8db2581..e53d734 100644 --- a/views/modal.qtpl +++ b/views/modal.qtpl @@ -9,7 +9,7 @@ {%= modalBegin( "delete", hyphaName, - "", + ` method="post"`, fmt.Sprintf(lc.Get("ui.ask_delete"), beautifulLink(hyphaName))) %} {%= modalReallyWant(hyphaName, lc.Get("ui.ask_delete_verb"), lc) %}
{%s lc.Get("ui.ask_delete_tip") %}
@@ -23,7 +23,7 @@ {%= modalBegin( "remove-media", hyphaName, - "", + ` method="post"`, fmt.Sprintf(lc.Get("ui.ask_remove_media"), beautifulLink(hyphaName))) %} {%= modalReallyWant(hyphaName, lc.Get("ui.ask_remove_media_verb"), lc) %} {%= modalEnd(hyphaName, true, lc) %} diff --git a/views/modal.qtpl.go b/views/modal.qtpl.go index 09b6eb8..a471e5a 100644 --- a/views/modal.qtpl.go +++ b/views/modal.qtpl.go @@ -41,7 +41,7 @@ func StreamDeleteAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName streammodalBegin(qw422016, "delete", hyphaName, - "", + ` method="post"`, fmt.Sprintf(lc.Get("ui.ask_delete"), beautifulLink(hyphaName))) //line views/modal.qtpl:13 qw422016.N().S(` @@ -105,7 +105,7 @@ func StreamRemoveMediaAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hypha streammodalBegin(qw422016, "remove-media", hyphaName, - "", + ` method="post"`, fmt.Sprintf(lc.Get("ui.ask_remove_media"), beautifulLink(hyphaName))) //line views/modal.qtpl:27 qw422016.N().S(`