Fix delete user account modal (#25004)
Before: <img width="953" alt="Screen Shot 2023-05-30 at 17 08 57" src="https://github.com/go-gitea/gitea/assets/17645053/f379b2c9-7d9a-492e-b0e4-5a8be1c3a025"> After: <img width="875" alt="Screen Shot 2023-05-30 at 17 06 17" src="https://github.com/go-gitea/gitea/assets/17645053/75d3c9b5-201b-4001-a27e-64c932e2e34a">
This commit is contained in:
parent
d783384c19
commit
32185efc14
1 changed files with 9 additions and 9 deletions
|
@ -197,10 +197,9 @@
|
||||||
{{svg "octicon-trash"}}
|
{{svg "octicon-trash"}}
|
||||||
{{.locale.Tr "settings.delete_account_title"}}
|
{{.locale.Tr "settings.delete_account_title"}}
|
||||||
</div>
|
</div>
|
||||||
|
<form class="ui form" method="POST" action="{{.Link}}/delete">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>{{.locale.Tr "settings.delete_account_desc"}}</p>
|
<p>{{.locale.Tr "settings.delete_account_desc"}}</p>
|
||||||
</div>
|
|
||||||
<form class="ui form" method="POST" action="{{.Link}}/delete">
|
|
||||||
{{$.CsrfTokenHtml}}
|
{{$.CsrfTokenHtml}}
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="ui checkbox">
|
<div class="ui checkbox">
|
||||||
|
@ -209,6 +208,7 @@
|
||||||
</div>
|
</div>
|
||||||
<p class="help">{{.locale.Tr "admin.users.purge_help"}}</p>
|
<p class="help">{{.locale.Tr "admin.users.purge_help"}}</p>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{{template "base/modal_actions_confirm" .}}
|
{{template "base/modal_actions_confirm" .}}
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue