File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 50
50
</div>
51
51
</div>
52
52
53
- <div class="required non-local field {{if .Err_LoginName}}error{{end}} {{if eq .login_type "0-0"}}hide {{end}}">
53
+ <div class="required non-local field {{if .Err_LoginName}}error{{end}} {{if eq .login_type "0-0"}}gt-hidden {{end}}">
54
54
<label for="login_name">{{.locale.Tr "admin.users.auth_login_name"}}</label>
55
55
<input id="login_name" name="login_name" value="{{.login_name}}">
56
56
</div>
62
62
<label for="email">{{.locale.Tr "email"}}</label>
63
63
<input id="email" name="email" type="email" value="{{.email}}" required>
64
64
</div>
65
- <div class="required local field {{if .Err_Password}}error{{end}} {{if not (eq .login_type "0-0")}}hide {{end}}">
65
+ <div class="required local field {{if .Err_Password}}error{{end}} {{if not (eq .login_type "0-0")}}gt-hidden {{end}}">
66
66
<label for="password">{{.locale.Tr "password"}}</label>
67
67
<input id="password" name="password" type="password" autocomplete="new-password" value="{{.password}}" {{if eq .login_type "0-0"}}required{{end}}>
68
68
</div>
69
69
70
- <div class="inline field local{{if ne .login_type "0-0"}} hide {{end}}">
70
+ <div class="inline field local {{if ne .login_type "0-0"}}gt-hidden {{end}}">
71
71
<div class="ui checkbox">
72
72
<label><strong>{{.locale.Tr "auth.allow_password_change"}}</strong></label>
73
73
<input name="must_change_password" type="checkbox" checked>
Original file line number Diff line number Diff line change 58
58
</label>
59
59
</div>
60
60
</div>
61
- <div class="quick-pull-branch-name {{if not (eq .commit_choice "commit-to-new-branch")}}hide {{end}}">
61
+ <div class="quick-pull-branch-name {{if not (eq .commit_choice "commit-to-new-branch")}}gt-hidden {{end}}">
62
62
<div class="new-branch-name-input field {{if .Err_NewBranchName}}error{{end}}">
63
63
{{svg "octicon-git-branch"}}
64
64
<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"}}">
You can’t perform that action at this time.
0 commit comments