Fix "for" attribute for label elements (#1488)

Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
This commit is contained in:
Florian Weber
2020-05-06 21:59:29 +02:00
committed by GitHub
parent db518c3620
commit ed7bec04b0
5 changed files with 15 additions and 15 deletions

View File

@ -22,7 +22,7 @@
</div>
<div class="card-body background">
<%= form_for(:password_reset, url: password_resets_path) do |f| %>
<%= f.label t("forgot_password.email"), class: "form-label" %>
<%= f.label :email, t("forgot_password.email"), class: "form-label" %>
<%= f.email_field :email, class: "form-control" %>
<br>