Make email mandatory + sign in translations
This commit is contained in:
@@ -4,10 +4,12 @@
|
||||
.form-floating
|
||||
= form.email_field :email_address, autocomplete: "username", required: true, autofocus: true, class: "form-control"
|
||||
= form.label :email_address, class: "required"
|
||||
= t("activerecord.attributes.session.email_address")
|
||||
.row.mb-3
|
||||
.col
|
||||
.form-floating
|
||||
= form.password_field :password, autocomplete: "current-password", required: true, autofocus: true, class: "form-control", maxlength: 72
|
||||
= form.label :password, class: "required"
|
||||
= t("activerecord.attributes.session.password")
|
||||
|
||||
= form.submit "Sign in"
|
||||
= form.submit t("helpers.buttons.sign_in")
|
Reference in New Issue
Block a user