Skip to content

Commit f4e417b

Browse files
author
Gusted
committed
Use <span> instead of <label>
1 parent 9208741 commit f4e417b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

templates/user/auth/signup_inner.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
</div>
5656
{{end}}
5757
{{if and .EnableCaptcha (eq .CaptchaType "mcaptcha")}}
58-
<div class="inline field required df ac db-small">
59-
<label>{{.locale.Tr "captcha"}}</label>
58+
<div class="inline field df ac db-small">
59+
<span>{{.locale.Tr "captcha"}}</span>
6060
<div class="border-secondary w-100-small" id="mcaptcha__widget-container" style="width: 50%; height: 5em"></div>
6161
<div class="m-captcha" data-sitekey="{{ .McaptchaSitekey }}" data-instance-url="{{ .McaptchaURL }}"></div>
6262
</div>

web_src/less/_form.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ textarea:focus,
156156
padding-left: @create-page-form-input-padding+30px;
157157
}
158158

159-
.inline.field > label {
159+
.inline.field > label,
160+
.inline.field > span {
160161
text-align: right;
161162
width: @create-page-form-input-padding;
162163
word-wrap: break-word;

0 commit comments

Comments
 (0)