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