Fix edit OAuth application width (#25262)

The `<div class="ui container">` broke the width of this section - fix
by removing it.
This commit is contained in:
Denys Konovalov 2023-06-14 19:45:13 +02:00 committed by GitHub
parent 46c17c8029
commit a0eaf08812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 44 additions and 46 deletions

View File

@ -1,11 +1,10 @@
<div class="ui container">
<h4 class="ui top attached header">
<h4 class="ui top attached header">
{{.locale.Tr "settings.edit_oauth2_application"}}
</h4>
<div class="ui attached segment">
</h4>
<div class="ui attached segment">
<p>{{.locale.Tr "settings.oauth2_application_create_description"}}</p>
</div>
<div class="ui attached segment form ignore-dirty">
</div>
<div class="ui attached segment form ignore-dirty">
{{.CsrfTokenHtml}}
<div class="field">
<label for="client-id">{{.locale.Tr "settings.oauth2_client_id"}}</label>
@ -30,8 +29,8 @@
<button class="btn interact-bg" type="submit">{{.locale.Tr "settings.oauth2_regenerate_secret"}}</button>
</form>
</div>
</div>
<div class="ui attached bottom segment">
</div>
<div class="ui attached bottom segment">
<form class="ui form ignore-dirty" action="{{.FormActionPath}}" method="post">
{{.CsrfTokenHtml}}
<div class="field {{if .Err_AppName}}error{{end}}">
@ -50,5 +49,4 @@
{{.locale.Tr "settings.save_application"}}
</button>
</form>
</div>
</div>