diff --git a/templates/user/settings/applications_oauth2_edit_form.tmpl b/templates/user/settings/applications_oauth2_edit_form.tmpl index 0ec81f3a99..dc094a1a5c 100644 --- a/templates/user/settings/applications_oauth2_edit_form.tmpl +++ b/templates/user/settings/applications_oauth2_edit_form.tmpl @@ -1,54 +1,52 @@ -
-

- {{.locale.Tr "settings.edit_oauth2_application"}} -

-
-

{{.locale.Tr "settings.oauth2_application_create_description"}}

+

+ {{.locale.Tr "settings.edit_oauth2_application"}} +

+
+

{{.locale.Tr "settings.oauth2_application_create_description"}}

+
+
+ {{.CsrfTokenHtml}} +
+ +
-
- {{.CsrfTokenHtml}} + {{if .ClientSecret}}
- - + +
- {{if .ClientSecret}} -
- - -
- {{else}} -
- - -
- {{end}} -
- -
- {{.CsrfTokenHtml}} - {{.locale.Tr "settings.oauth2_regenerate_secret_hint"}} - -
+ {{else}} +
+ +
-
-
-
+ {{end}} +
+ + {{.CsrfTokenHtml}} -
- - -
-
- - -
-
- - -
- + {{.locale.Tr "settings.oauth2_regenerate_secret_hint"}} +
+
+
+ {{.CsrfTokenHtml}} +
+ + +
+
+ + +
+
+ + +
+ +
+