aboutsummaryrefslogtreecommitdiff
path: root/templates/user
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/delete.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/delete.tmpl b/templates/user/delete.tmpl
index e6522aa2..af0e1fbc 100644
--- a/templates/user/delete.tmpl
+++ b/templates/user/delete.tmpl
@@ -15,7 +15,7 @@
<div id="gogs-user-setting-container" class="col-md-9">
<form action="/user/delete" method="post" class="form-horizontal" id="gogs-user-delete">
<h4>Delete Account</h4>
- <p class="alert alert-danger">Deleting your account is permanent. Sorry to see you go, if you have any feedback you can contact us.</p>
+ <p class="alert alert-danger">{{if not .HasError}}The operation will delete your account permanently. Sorry to see you go, but we know you'll back soon.{{else}}{{.ErrorMsg}}{{end}}</p>
<div class="form-group">
<div class="col-md-3">
<button type="submit" class="btn btn-danger btn-lg">Delete Account</button>