|
77 | 77 | <div class="inline field"> |
78 | 78 | <label>{{.locale.Tr "repo.template.items"}}</label> |
79 | 79 | <div class="ui checkbox"> |
80 | | - <input class="hidden" name="git_content" type="checkbox" tabindex="0" {{if .git_content}}checked{{end}}> |
| 80 | + <input name="git_content" type="checkbox" tabindex="0" {{if .git_content}}checked{{end}}> |
81 | 81 | <label>{{.locale.Tr "repo.template.git_content"}}</label> |
82 | 82 | </div> |
83 | 83 | <div class="ui checkbox{{if not .SignedUser.CanEditGitHook}} tooltip{{end}}"{{if not .SignedUser.CanEditGitHook}} data-content="{{.locale.Tr "repo.template.git_hooks_tooltip"}}"{{end}}> |
84 | | - <input class="hidden" name="git_hooks" type="checkbox" tabindex="0" {{if .git_hooks}}checked{{end}}> |
| 84 | + <input name="git_hooks" type="checkbox" tabindex="0" {{if .git_hooks}}checked{{end}}> |
85 | 85 | <label>{{.locale.Tr "repo.template.git_hooks"}}</label> |
86 | 86 | </div> |
87 | 87 | </div> |
88 | 88 | <div class="inline field"> |
89 | 89 | <label></label> |
90 | 90 | <div class="ui checkbox"> |
91 | | - <input class="hidden" name="webhooks" type="checkbox" tabindex="0" {{if .webhooks}}checked{{end}}> |
| 91 | + <input name="webhooks" type="checkbox" tabindex="0" {{if .webhooks}}checked{{end}}> |
92 | 92 | <label>{{.locale.Tr "repo.template.webhooks"}}</label> |
93 | 93 | </div> |
94 | 94 | <div class="ui checkbox"> |
95 | | - <input class="hidden" name="topics" type="checkbox" tabindex="0" {{if .topics}}checked{{end}}> |
| 95 | + <input name="topics" type="checkbox" tabindex="0" {{if .topics}}checked{{end}}> |
96 | 96 | <label>{{.locale.Tr "repo.template.topics"}}</label> |
97 | 97 | </div> |
98 | 98 | </div> |
99 | 99 | <div class="inline field"> |
100 | 100 | <label></label> |
101 | 101 | <div class="ui checkbox"> |
102 | | - <input class="hidden" name="avatar" type="checkbox" tabindex="0" {{if .avatar}}checked{{end}}> |
| 102 | + <input name="avatar" type="checkbox" tabindex="0" {{if .avatar}}checked{{end}}> |
103 | 103 | <label>{{.locale.Tr "repo.template.avatar"}}</label> |
104 | 104 | </div> |
105 | 105 | <div class="ui checkbox"> |
106 | | - <input class="hidden" name="labels" type="checkbox" tabindex="0" {{if .labels}}checked{{end}}> |
| 106 | + <input name="labels" type="checkbox" tabindex="0" {{if .labels}}checked{{end}}> |
107 | 107 | <label>{{.locale.Tr "repo.template.issue_labels"}}</label> |
108 | 108 | </div> |
109 | 109 | </div> |
|
169 | 169 | </div> |
170 | 170 | <div class="inline field"> |
171 | 171 | <div class="ui checkbox" id="auto-init"> |
172 | | - <input class="hidden" name="auto_init" type="checkbox" tabindex="0" {{if .auto_init}}checked{{end}}> |
| 172 | + <input name="auto_init" type="checkbox" tabindex="0" {{if .auto_init}}checked{{end}}> |
173 | 173 | <label>{{.locale.Tr "repo.auto_init"}}</label> |
174 | 174 | </div> |
175 | 175 | </div> |
|
204 | 204 | <div class="inline field"> |
205 | 205 | <label>{{.locale.Tr "repo.template"}}</label> |
206 | 206 | <div class="ui checkbox"> |
207 | | - <input class="hidden" name="template" type="checkbox" tabindex="0"> |
| 207 | + <input name="template" type="checkbox" tabindex="0"> |
208 | 208 | <label>{{.locale.Tr "repo.template_helper"}}</label> |
209 | 209 | </div> |
210 | 210 | </div> |
|
0 commit comments