diff options
-rw-r--r-- | templates/user/delete.tmpl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/templates/user/delete.tmpl b/templates/user/delete.tmpl index 7a9dcddf..e6522aa2 100644 --- a/templates/user/delete.tmpl +++ b/templates/user/delete.tmpl @@ -24,10 +24,11 @@ </form> </div> </div> -{{template "base/footer" .}} -{{template "base/head" .}} -{{template "base/navbar" .}} -<div class="container" id="gogs-body"> - -</div> +<script> + $(function(){ + $('#gogs-user-delete').on('submit',function(){ + return confirm("Are you sure ?"); + }) + }); +</script> {{template "base/footer" .}}
\ No newline at end of file |