jojo/templates/org/team
moritzdietz a8cae6d511 fix: Disable spellcheck on repo name field (#12506)
Fairly new to Forgejo but I just ran into this when trying to create a couple repositories.
I noticed that the input field for the repository name in several areas of the UI is prone to have annoying auto-capitalization, spellchecking and other browser features which try to correct the user input.

I as a user would like to not have the browser interfere with my input especially in dialogs where I want to have something "custom".
For fields where the repo name is used to validate an action (Danger Zone) this is even more frustrating.

So, to me, this is a quality of live improvement fix.

I checked the docs for these three attributes and none of them seem to have a negative side effect for the user:

1. https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autocorrect
2. https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autocapitalize
3. https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/spellcheck

## List of URLs where this applies:
1. `/repo/migrate`
2. `/repo/create`
3. `/<user>/<repo slug>/settings`
4. In general things in the "Danger zone" section where the repo name is used to validate the action
5. …

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12506
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Beowulf <beowulf@beocode.eu>
2026-05-10 21:42:21 +02:00
..
invite.tmpl feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
members.tmpl fix: paginate team members list (#12447) 2026-05-08 01:52:46 +02:00
navbar.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
new.tmpl fix(i18n): reuse string for repository access, fix capitalization consistency (#11683) 2026-03-15 15:09:43 +01:00
repositories.tmpl fix: Disable spellcheck on repo name field (#12506) 2026-05-10 21:42:21 +02:00
sidebar.tmpl fix(i18n): reuse string for repository access, fix capitalization consistency (#11683) 2026-03-15 15:09:43 +01:00
teams.tmpl chore: rename SafeHTML to TrustHTML (#11481) 2026-03-08 02:41:37 +01:00