2015-08-19 03:49:44 +09:00
|
|
|
{{template "base/head" .}}
|
2015-09-07 00:25:08 +09:00
|
|
|
<div class="user settings delete">
|
2017-03-16 07:39:38 +09:00
|
|
|
{{template "user/settings/navbar" .}}
|
2015-12-08 07:30:52 +09:00
|
|
|
<div class="ui container">
|
2017-03-16 07:39:38 +09:00
|
|
|
{{template "base/alert" .}}
|
|
|
|
<h4 class="ui top attached warning header">
|
|
|
|
{{.i18n.Tr "settings.delete_account"}}
|
|
|
|
</h4>
|
|
|
|
<div class="ui attached warning segment">
|
|
|
|
<div class="ui red message">
|
|
|
|
<p class="text left"><i class="octicon octicon-alert"></i> {{.i18n.Tr "settings.delete_prompt" | Str2html}}</p>
|
2015-12-08 07:30:52 +09:00
|
|
|
</div>
|
2018-03-23 23:10:42 +09:00
|
|
|
<form class="ui form ignore-dirty" id="delete-form" action="{{.Link}}" method="post">
|
2017-03-16 07:39:38 +09:00
|
|
|
{{.CsrfTokenHtml}}
|
|
|
|
<input class="fake" type="password">
|
2017-11-13 16:21:41 +09:00
|
|
|
<div class="required field {{if .Err_Password}}error{{end}}">
|
2017-03-16 07:39:38 +09:00
|
|
|
<label for="password">{{.i18n.Tr "password"}}</label>
|
|
|
|
<input id="password" name="password" type="password" autofocus required>
|
|
|
|
</div>
|
2017-11-13 16:21:41 +09:00
|
|
|
<div class="field">
|
|
|
|
<div class="ui red button delete-button" data-type="form" data-form="#delete-form">
|
|
|
|
{{.i18n.Tr "settings.confirm_delete_account"}}
|
|
|
|
</div>
|
2017-03-16 07:39:38 +09:00
|
|
|
<a href="{{AppSubUrl}}/user/forgot_password?email={{.Email}}">{{.i18n.Tr "auth.forgot_password"}}</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
2015-12-08 07:30:52 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-08-19 03:49:44 +09:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="ui small basic delete modal">
|
2015-12-08 07:30:52 +09:00
|
|
|
<div class="ui icon header">
|
|
|
|
<i class="trash icon"></i>
|
|
|
|
{{.i18n.Tr "settings.delete_account_title"}}
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<p>{{.i18n.Tr "settings.delete_account_desc"}}</p>
|
|
|
|
</div>
|
|
|
|
{{template "base/delete_modal_actions" .}}
|
2014-07-26 13:24:27 +09:00
|
|
|
</div>
|
2015-12-08 07:30:52 +09:00
|
|
|
{{template "base/footer" .}}
|