diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/settings/options.tmpl | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 1d1fdb36ef..aeb61d9eb3 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -9,8 +9,8 @@ {{.CsrfTokenHtml}} <input type="hidden" name="action" value="update"> <div class="required field {{if .Err_RepoName}}error{{end}}"> - <label for="repo_name">{{ctx.Locale.Tr "repo.repo_name"}}</label> - <input id="repo_name" name="repo_name" value="{{.Repository.Name}}" data-repo-name="{{.Repository.Name}}" autofocus required> + <label>{{ctx.Locale.Tr "repo.repo_name"}}</label> + <input name="repo_name" value="{{.Repository.Name}}" data-repo-name="{{.Repository.Name}}" autofocus required> </div> <div class="inline field"> <label>{{ctx.Locale.Tr "repo.repo_size"}}</label> @@ -539,8 +539,8 @@ </label> </div> <div class="required field"> - <label for="repo_name">{{ctx.Locale.Tr "repo.settings.confirmation_string"}}</label> - <input id="repo_name" name="repo_name" required maxlength="100"> + <label>{{ctx.Locale.Tr "repo.settings.confirmation_string"}}</label> + <input name="repo_name" required maxlength="100"> </div> <div class="text right actions"> @@ -570,8 +570,8 @@ </label> </div> <div class="required field"> - <label for="repo_name">{{ctx.Locale.Tr "repo.settings.confirmation_string"}}</label> - <input id="repo_name" name="repo_name" required> + <label>{{ctx.Locale.Tr "repo.settings.confirmation_string"}}</label> + <input name="repo_name" required> </div> <div class="text right actions"> @@ -602,8 +602,8 @@ </label> </div> <div class="required field"> - <label for="repo_name">{{ctx.Locale.Tr "repo.settings.confirmation_string"}}</label> - <input id="repo_name" name="repo_name" required> + <label>{{ctx.Locale.Tr "repo.settings.confirmation_string"}}</label> + <input name="repo_name" required> </div> <div class="required field"> <label for="new_owner_name">{{ctx.Locale.Tr "repo.settings.transfer_owner"}}</label> @@ -672,8 +672,8 @@ </label> </div> <div class="required field"> - <label for="repo_name">{{ctx.Locale.Tr "repo.settings.confirmation_string"}}</label> - <input id="repo_name" name="repo_name" required> + <label>{{ctx.Locale.Tr "repo.settings.confirmation_string"}}</label> + <input name="repo_name" required> </div> <div class="text right actions"> @@ -705,8 +705,8 @@ </label> </div> <div class="required field"> - <label for="repo_name">{{ctx.Locale.Tr "repo.settings.confirmation_string"}}</label> - <input id="repo_name" name="repo_name" required> + <label>{{ctx.Locale.Tr "repo.settings.confirmation_string"}}</label> + <input name="repo_name" required> </div> <div class="text right actions"> |