[openstreetmap/openstreetmap-website] Refactor login form to use form helpers for password field (PR #4935)

Emin Kocan notifications at github.com
Wed Jul 3 12:58:47 UTC 2024


@kcne commented on this pull request.



>      </div>
-    <input class="form-control mb-3" type="password" name="password" id="password" tabindex="2" value="" autocomplete="on" />
+
+    <%= f.password_field :password, :autocomplete => true, :tabindex => 2, :value => "", :skip_label => true %>

My bad, missed that one. Resolved now.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4935#discussion_r1664151939
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4935/review/2156381783 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240703/49b5132b/attachment.htm>


More information about the rails-dev mailing list