2015-09-06 09:25:08 -06:00
|
|
|
{{template "base/head" .}}
|
2020-11-30 21:00:14 -07:00
|
|
|
<div class="page-content organization settings delete">
|
2015-12-07 15:30:52 -07:00
|
|
|
{{template "org/header" .}}
|
|
|
|
<div class="ui container">
|
|
|
|
<div class="ui grid">
|
|
|
|
{{template "org/settings/navbar" .}}
|
|
|
|
<div class="twelve wide column content">
|
|
|
|
{{template "base/alert" .}}
|
2020-10-04 14:54:22 -06:00
|
|
|
<h4 class="ui top attached error header">
|
2015-12-07 15:30:52 -07:00
|
|
|
{{.i18n.Tr "org.settings.delete_account"}}
|
|
|
|
</h4>
|
2020-10-04 14:54:22 -06:00
|
|
|
<div class="ui attached error segment">
|
2015-12-07 15:30:52 -07:00
|
|
|
<div class="ui red message">
|
2020-09-11 14:19:00 -06:00
|
|
|
<p class="text left">{{svg "octicon-alert"}} {{.i18n.Tr "org.settings.delete_prompt" | Str2html}}</p>
|
2015-12-07 15:30:52 -07:00
|
|
|
</div>
|
2018-03-23 08:10:42 -06:00
|
|
|
<form class="ui form ignore-dirty" id="delete-form" action="{{.Link}}" method="post">
|
2015-12-07 15:30:52 -07:00
|
|
|
{{.CsrfTokenHtml}}
|
2021-03-01 07:33:05 -07:00
|
|
|
<div class="inline required field {{if .Err_OrgName}}error{{end}}">
|
|
|
|
<label for="org_name">{{.i18n.Tr "org.org_name_holder"}}</label>
|
|
|
|
<input id="org_name" name="org_name" value="" autocomplete="off" autofocus required>
|
2015-12-07 15:30:52 -07:00
|
|
|
</div>
|
|
|
|
<div class="ui red button delete-button" data-type="form" data-form="#delete-form">
|
|
|
|
{{.i18n.Tr "org.settings.confirm_delete_account"}}
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-09-06 09:25:08 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="ui small basic delete modal">
|
2015-12-07 15:30:52 -07:00
|
|
|
<div class="ui icon header">
|
2020-10-21 15:07:33 -06:00
|
|
|
{{svg "octicon-trashcan"}}
|
2015-12-07 15:30:52 -07:00
|
|
|
{{.i18n.Tr "org.settings.delete_org_title"}}
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<p>{{.i18n.Tr "org.settings.delete_org_desc"}}</p>
|
|
|
|
</div>
|
|
|
|
{{template "base/delete_modal_actions" .}}
|
2014-08-14 00:12:21 -06:00
|
|
|
</div>
|
2015-12-07 15:30:52 -07:00
|
|
|
{{template "base/footer" .}}
|