[openstreetmap/openstreetmap-website] Refactor login form to use form helpers for password field (PR #4935)
Emin Kocan
notifications at github.com
Mon Jul 1 23:11:03 UTC 2024
@kcne commented on this pull request.
> @@ -33,15 +33,12 @@
<%= f.text_field :username, :label => t(".email or username"), :autofocus => true, :tabindex => 1, :value => params[:username] %>
- <div class="row">
- <div class="col">
- <%= f.label :password, t(".password"), :class => "form-label" %>
- </div>
- <div class="col text-end">
- <small><%= link_to(t(".lost password link"), user_forgot_password_path) %></small>
- </div>
+ <div class="col d-flex justify-content-between align-items-center">
+ <%= f.label :password, t(".password"), :class => "my-1" %>
Spot on, resolved.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4935#discussion_r1661622263
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4935/review/2152379084 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240701/33a4f124/attachment-0001.htm>
More information about the rails-dev
mailing list