diff options
Diffstat (limited to 'templates/org/settings/delete.tmpl')
-rw-r--r-- | templates/org/settings/delete.tmpl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/templates/org/settings/delete.tmpl b/templates/org/settings/delete.tmpl index 8b698e0d37..a929fabfe2 100644 --- a/templates/org/settings/delete.tmpl +++ b/templates/org/settings/delete.tmpl @@ -12,13 +12,20 @@ <p class="panel-header"><strong>{{.i18n.Tr "org.settings.delete_account"}}</strong></p> <div class="panel-body panel-content"> <span class="alert alert-red alert-radius block"><i class="octicon octicon-alert"></i>{{.i18n.Tr "org.settings.delete_prompt" | Str2html}}</span> - <form action="{{AppSubUrl}}/org/{{.Org.LowerName}}/settings/delete" method="post"> + <form id="delete-org-form" action="{{AppSubUrl}}/org/{{.Org.LowerName}}/settings/delete" method="post"> {{.CsrfTokenHtml}} <p class="field"> <span class="form-label"></span> - <button class="btn btn-red btn-large btn-radius" id="delete-org-button">{{.i18n.Tr "org.settings.confirm_delete_account"}}</button> + <button class="btn btn-red btn-large btn-radius" id="delete-org-btn" href="#delete-org-modal">{{.i18n.Tr "org.settings.confirm_delete_account"}}</button> </p> </form> + <div class="white-popup-block mfp-hide" id="delete-org-modal"> + <h1 class="text-red">{{.i18n.Tr "org.settings.delete_org_title"}}</h1> + <p>{{.i18n.Tr "org.settings.delete_org_desc"}}</p> + <br> + <button class="btn btn-red btn-large btn-radius" id="delete-org-submit">{{.i18n.Tr "settings.continue"}}</button> + <button class="btn btn-large btn-radius popup-modal-dismiss">{{.i18n.Tr "settings.cancel"}}</button> + </div> </div> </div> </div> |