diff options
author | yp05327 <576951401@qq.com> | 2023-03-02 05:22:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 05:22:04 +0100 |
commit | 0945bf63d3e0784c06a9d85504d42458b091d6b8 (patch) | |
tree | e1a41113e7c2f7e5c82ab1dddd3768a2f476c141 /templates/repo/editor | |
parent | [skip ci] Updated translations via Crowdin (diff) | |
download | forgejo-0945bf63d3e0784c06a9d85504d42458b091d6b8.tar.xz forgejo-0945bf63d3e0784c06a9d85504d42458b091d6b8.zip |
Fix missed `.hide` class (#23208)
https://github.com/go-gitea/gitea/pull/22950 removed `hide` class, and
use `gt-hidden`
But there are some missed `hide`....
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo/editor')
-rw-r--r-- | templates/repo/editor/commit_form.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/editor/commit_form.tmpl b/templates/repo/editor/commit_form.tmpl index c6c48c5a83..7ac0ed3df1 100644 --- a/templates/repo/editor/commit_form.tmpl +++ b/templates/repo/editor/commit_form.tmpl @@ -58,7 +58,7 @@ </label> </div> </div> - <div class="quick-pull-branch-name {{if not (eq .commit_choice "commit-to-new-branch")}}hide{{end}}"> + <div class="quick-pull-branch-name {{if not (eq .commit_choice "commit-to-new-branch")}}gt-hidden{{end}}"> <div class="new-branch-name-input field {{if .Err_NewBranchName}}error{{end}}"> {{svg "octicon-git-branch"}} <input type="text" name="new_branch_name" value="{{.new_branch_name}}" class="input-contrast gt-mr-2 js-quick-pull-new-branch-name" placeholder="{{.locale.Tr "repo.editor.new_branch_name_desc"}}" {{if eq .commit_choice "commit-to-new-branch"}}required{{end}} title="{{.locale.Tr "repo.editor.new_branch_name"}}"> |