diff --git a/internal/i18n/locales/en-US.yml b/internal/i18n/locales/en-US.yml index 1dcfcb33..c5a3104f 100644 --- a/internal/i18n/locales/en-US.yml +++ b/internal/i18n/locales/en-US.yml @@ -52,6 +52,7 @@ gist.edit.change-visibility: Make gist.edit.delete: Delete gist.edit.cancel: Cancel gist.edit.save: Save +gist.delete.confirm: Are you sure you want to delete this gist ? gist.list.joined: Joined gist.list.all: All gists diff --git a/templates/base/gist_header.html b/templates/base/gist_header.html index b5c91e8f..79352fa8 100644 --- a/templates/base/gist_header.html +++ b/templates/base/gist_header.html @@ -75,9 +75,9 @@

{{ .locale.Tr "gist.header.edit" }} -
+ {{ .csrfHtml }} - +
diff --git a/templates/pages/admin_invitations.html b/templates/pages/admin_invitations.html index 7e287348..9314e065 100644 --- a/templates/pages/admin_invitations.html +++ b/templates/pages/admin_invitations.html @@ -53,9 +53,9 @@

{{ $invitation.NbUsed }}/{{ $invitation.NbMax }} {{ $invitation.ExpiresAt }} -
+ {{ $.csrfHtml }} - +
diff --git a/templates/pages/admin_users.html b/templates/pages/admin_users.html index 71588ae0..a6b31af7 100644 --- a/templates/pages/admin_users.html +++ b/templates/pages/admin_users.html @@ -20,9 +20,9 @@ {{ $user.Username }} {{ $user.CreatedAt }} -
+ {{ $.csrfHtml }} - +
diff --git a/templates/pages/edit.html b/templates/pages/edit.html index b1c2ba79..7a4c22ad 100644 --- a/templates/pages/edit.html +++ b/templates/pages/edit.html @@ -28,9 +28,9 @@

-
+ {{ .csrfHtml }} - +
@@ -280,11 +280,11 @@

{{ .Title }

{{ $.locale.Tr "settings.ssh-key-last-used" }} {{ .LastUsedAt }}

{{ end }} -
+ {{ $.csrfHtml }} - +