2023-04-23 15:51:21 +05:30
|
|
|
{{template "org/settings/layout_head" (dict "ctxData" . "pageClass" "organization settings delete")}}
|
|
|
|
|
|
|
|
<div class="org-setting-content">
|
2020-10-05 02:24:22 +05:30
|
|
|
<h4 class="ui top attached error header">
|
2022-06-28 02:28:46 +05:30
|
|
|
{{.locale.Tr "org.settings.delete_account"}}
|
2015-12-08 04:00:52 +05:30
|
|
|
</h4>
|
2020-10-05 02:24:22 +05:30
|
|
|
<div class="ui attached error segment">
|
2015-12-08 04:00:52 +05:30
|
|
|
<div class="ui red message">
|
2022-06-28 02:28:46 +05:30
|
|
|
<p class="text left">{{svg "octicon-alert"}} {{.locale.Tr "org.settings.delete_prompt" | Str2html}}</p>
|
2015-12-08 04:00:52 +05:30
|
|
|
</div>
|
2018-03-23 19:40:42 +05:30
|
|
|
<form class="ui form ignore-dirty" id="delete-form" action="{{.Link}}" method="post">
|
2015-12-08 04:00:52 +05:30
|
|
|
{{.CsrfTokenHtml}}
|
2021-03-01 20:03:05 +05:30
|
|
|
<div class="inline required field {{if .Err_OrgName}}error{{end}}">
|
2022-06-28 02:28:46 +05:30
|
|
|
<label for="org_name">{{.locale.Tr "org.org_name_holder"}}</label>
|
2021-03-01 20:03:05 +05:30
|
|
|
<input id="org_name" name="org_name" value="" autocomplete="off" autofocus required>
|
2015-12-08 04:00:52 +05:30
|
|
|
</div>
|
2023-03-14 09:04:09 +05:30
|
|
|
<button class="ui red button delete-button" data-type="form" data-form="#delete-form">
|
2022-06-28 02:28:46 +05:30
|
|
|
{{.locale.Tr "org.settings.confirm_delete_account"}}
|
2023-03-14 09:04:09 +05:30
|
|
|
</button>
|
2015-12-08 04:00:52 +05:30
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-09-06 20:55:08 +05:30
|
|
|
|
2023-04-23 14:54:19 +05:30
|
|
|
<div class="ui gitea-confirm-modal delete modal">
|
|
|
|
<div class="header">
|
2021-03-22 09:34:19 +05:30
|
|
|
{{svg "octicon-trash"}}
|
2022-06-28 02:28:46 +05:30
|
|
|
{{.locale.Tr "org.settings.delete_org_title"}}
|
2015-12-08 04:00:52 +05:30
|
|
|
</div>
|
|
|
|
<div class="content">
|
2022-06-28 02:28:46 +05:30
|
|
|
<p>{{.locale.Tr "org.settings.delete_org_desc"}}</p>
|
2015-12-08 04:00:52 +05:30
|
|
|
</div>
|
2023-04-23 14:54:19 +05:30
|
|
|
{{template "base/modal_actions_confirm" .}}
|
2014-08-14 11:42:21 +05:30
|
|
|
</div>
|
2023-04-23 15:51:21 +05:30
|
|
|
|
|
|
|
{{template "org/settings/layout_footer" .}}
|