diff options
author | silverwind <me@silverwind.io> | 2024-04-23 23:53:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 21:53:57 +0000 |
commit | 1a2ae64b16f10b8d1e17197d18b9eb373faf58db (patch) | |
tree | 53cec59a9010107777a7c85bbd15d67861b204bc /templates/user/settings/applications_oauth2_list.tmpl | |
parent | 2ee93ea17869de8fe24c6965fa3416ff30d55c5a (diff) | |
download | gitea-1a2ae64b16f10b8d1e17197d18b9eb373faf58db.tar.gz gitea-1a2ae64b16f10b8d1e17197d18b9eb373faf58db.zip |
Fix checkbox field markup (#30666)
Fixes https://github.com/go-gitea/gitea/issues/30664.
Previous use was not a supported way by fomantic and the misuse only
became visible after the checkbox migration.
Diffstat (limited to 'templates/user/settings/applications_oauth2_list.tmpl')
-rw-r--r-- | templates/user/settings/applications_oauth2_list.tmpl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/user/settings/applications_oauth2_list.tmpl b/templates/user/settings/applications_oauth2_list.tmpl index cfcb6d053d..c75cbd532e 100644 --- a/templates/user/settings/applications_oauth2_list.tmpl +++ b/templates/user/settings/applications_oauth2_list.tmpl @@ -61,9 +61,11 @@ <label for="redirect-uris">{{ctx.Locale.Tr "settings.oauth2_redirect_uris"}}</label> <textarea name="redirect_uris" id="redirect-uris"></textarea> </div> - <div class="field ui checkbox {{if .Err_ConfidentialClient}}error{{end}}"> - <label>{{ctx.Locale.Tr "settings.oauth2_confidential_client"}}</label> - <input type="checkbox" name="confidential_client" checked> + <div class="field {{if .Err_ConfidentialClient}}error{{end}}"> + <div class="ui checkbox"> + <label>{{ctx.Locale.Tr "settings.oauth2_confidential_client"}}</label> + <input type="checkbox" name="confidential_client" checked> + </div> </div> <button class="ui primary button"> {{ctx.Locale.Tr "settings.create_oauth2_application_button"}} |