forked from mirror/codeberg-forgejo
CB/tmpl: signup info (captcha + throwaway mail)
updates the registration template to add a notice regarding - throwaway email providers (fixes Codeberg/Community#174) - people having difficulties solving our captchascodeberg-1.18
parent
861e7226d0
commit
af952af4e7
|
@ -3,7 +3,7 @@
|
|||
<div class="ui stackable middle very relaxed page grid">
|
||||
<div class="sixteen wide center aligned centered column">
|
||||
<img width="75%" src="{{AssetUrlPrefix}}/img/logo.svg" alt="Codeberg"/><br>
|
||||
<a href="/user/sign_up"><button style='border-radius:50vh;' class="ui button huge blue">{{.i18n.Tr "auth.sign_up_now" | Str2html}}</button></a>
|
||||
<a href="/user/sign_up"><button style='border-radius:50vh;' class="ui button huge blue">{{.locale.Tr "auth.sign_up_now" | Str2html}}</button></a>
|
||||
</div>
|
||||
</div>
|
||||
{{if eq .Lang "undefined"}}
|
||||
|
|
|
@ -23,7 +23,9 @@
|
|||
<label for="email">{{.locale.Tr "email"}}</label>
|
||||
<input id="email" name="email" type="email" value="{{.email}}" required>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="ui message flash-info"><p>Please note that we block certain throwaway email providers since we want to make sure we reach you.</p></div>
|
||||
|
||||
{{if not .DisablePassword}}
|
||||
<div class="required inline field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister))}}error{{end}}">
|
||||
<label for="password">{{.locale.Tr "password"}}</label>
|
||||
|
@ -43,6 +45,7 @@
|
|||
<label for="captcha">{{.locale.Tr "captcha"}}</label>
|
||||
<input id="captcha" name="captcha" value="{{.captcha}}" autocomplete="off">
|
||||
</div>
|
||||
<div class="ui message flash-info"><p>If you have justified difficulties solving the captcha, please contact us at <a href="mailto:contact@codeberg.org">contact@codeberg.org</a> and let us know your prefered account name.</p></div>
|
||||
{{end}}
|
||||
{{if and .EnableCaptcha (eq .CaptchaType "recaptcha")}}
|
||||
<div class="inline field required">
|
||||
|
|
Loading…
Reference in New Issue