Add lock icon to the 2fa OTP field

This commit is contained in:
Dennis Schubert 2019-04-29 23:32:41 +02:00 committed by Benjamin Neff
parent 607659939d
commit ef137f09f2
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -15,7 +15,7 @@
%fieldset
%label.sr-only#otp-label{for: "otp_attempt"}
= t("two_factor_auth.input_token.label")
%i.entypo-lock
= f.text_field :otp_attempt,
type: :text,
placeholder: t("two_factor_auth.input_token.placeholder"),