make captcha readable

This commit is contained in:
Georg Gadinger 2022-07-09 12:40:20 +02:00
parent 1e0dfe5041
commit 572132f9e9
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ gem "fog-aws"
gem "fog-core" gem "fog-core"
gem "fog-local" gem "fog-local"
gem "haml", "~> 5.0" gem "haml", "~> 5.0"
gem "hcaptcha", "~> 6.0" gem "hcaptcha", "~> 7.0"
gem "mini_magick" gem "mini_magick"
gem "rqrcode" gem "rqrcode"

View File

@ -594,7 +594,7 @@ DEPENDENCIES
guard-brakeman guard-brakeman
haml (~> 5.0) haml (~> 5.0)
haml_lint haml_lint
hcaptcha (~> 6.0) hcaptcha (~> 7.0)
httparty httparty
i18n-js (= 3.9.2) i18n-js (= 3.9.2)
jbuilder (~> 2.10) jbuilder (~> 2.10)

View File

@ -15,7 +15,7 @@
= f.password_field :password_confirmation, autocomplete: "new-password" = f.password_field :password_confirmation, autocomplete: "new-password"
- if APP_CONFIG.dig(:hcaptcha, :enabled) - if APP_CONFIG.dig(:hcaptcha, :enabled)
= hcaptcha_tags = hcaptcha_tags theme: :light
%p= raw t(".info", terms: link_to(t("voc.terms"), terms_path)) %p= raw t(".info", terms: link_to(t("voc.terms"), terms_path))
= f.primary = f.primary