diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-08-26 10:44:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-26 10:44:17 +0800 |
commit | 307ee2c044abe62c7e61787a6283e670fb3031ab (patch) | |
tree | 58e6f1d759b7359be8d531c5120f90520fea15f3 /templates/repo/create.tmpl | |
parent | 2f6c0e65966fd75ea066c266a0f7d3724634ad63 (diff) | |
download | gitea-307ee2c044abe62c7e61787a6283e670fb3031ab.tar.gz gitea-307ee2c044abe62c7e61787a6283e670fb3031ab.zip |
Fix incorrect "tabindex" attributes (#26733) (#26734)
Backport #26733 manually
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r-- | templates/repo/create.tmpl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 05e7052ff4..4c781379f4 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -77,33 +77,33 @@ <div class="inline field"> <label>{{.locale.Tr "repo.template.items"}}</label> <div class="ui checkbox"> - <input name="git_content" type="checkbox" tabindex="0" {{if .git_content}}checked{{end}}> + <input name="git_content" type="checkbox" {{if .git_content}}checked{{end}}> <label>{{.locale.Tr "repo.template.git_content"}}</label> </div> <div class="ui checkbox" {{if not .SignedUser.CanEditGitHook}}data-tooltip-content="{{.locale.Tr "repo.template.git_hooks_tooltip"}}"{{end}}> - <input name="git_hooks" type="checkbox" tabindex="0" {{if .git_hooks}}checked{{end}}> + <input name="git_hooks" type="checkbox" {{if .git_hooks}}checked{{end}}> <label>{{.locale.Tr "repo.template.git_hooks"}}</label> </div> </div> <div class="inline field"> <label></label> <div class="ui checkbox"> - <input name="webhooks" type="checkbox" tabindex="0" {{if .webhooks}}checked{{end}}> + <input name="webhooks" type="checkbox" {{if .webhooks}}checked{{end}}> <label>{{.locale.Tr "repo.template.webhooks"}}</label> </div> <div class="ui checkbox"> - <input name="topics" type="checkbox" tabindex="0" {{if .topics}}checked{{end}}> + <input name="topics" type="checkbox" {{if .topics}}checked{{end}}> <label>{{.locale.Tr "repo.template.topics"}}</label> </div> </div> <div class="inline field"> <label></label> <div class="ui checkbox"> - <input name="avatar" type="checkbox" tabindex="0" {{if .avatar}}checked{{end}}> + <input name="avatar" type="checkbox" {{if .avatar}}checked{{end}}> <label>{{.locale.Tr "repo.template.avatar"}}</label> </div> <div class="ui checkbox"> - <input name="labels" type="checkbox" tabindex="0" {{if .labels}}checked{{end}}> + <input name="labels" type="checkbox" {{if .labels}}checked{{end}}> <label>{{.locale.Tr "repo.template.issue_labels"}}</label> </div> </div> @@ -169,7 +169,7 @@ </div> <div class="inline field"> <div class="ui checkbox" id="auto-init"> - <input name="auto_init" type="checkbox" tabindex="0" {{if .auto_init}}checked{{end}}> + <input name="auto_init" type="checkbox" {{if .auto_init}}checked{{end}}> <label>{{.locale.Tr "repo.auto_init"}}</label> </div> </div> @@ -204,7 +204,7 @@ <div class="inline field"> <label>{{.locale.Tr "repo.template"}}</label> <div class="ui checkbox"> - <input name="template" type="checkbox" tabindex="0"> + <input name="template" type="checkbox"> <label>{{.locale.Tr "repo.template_helper"}}</label> </div> </div> |