[openstreetmap/openstreetmap-website] Re-arrange login and signup screens as discussed in #4128 (PR #4455)
Milan Cvetkovic
notifications at github.com
Thu Jan 11 11:23:45 UTC 2024
@milan-cvetkovic commented on this pull request.
> + <h1><%= t ".title" %></h1>
+ </div>
+ <div class='header-illustration new-user-arm d-none d-md-block'></div>
+<% end %>
+
+<div class="auth-container">
+ <div class="text-muted col-sm form-container">
+
+ <h4><%= t ".welcome" %></h4>
+
+ <%= bootstrap_form_for current_user, :url => { :action => "create_association" } do |f| %>
+ <%= hidden_field_tag("referer", h(@referer)) unless @referer.nil? %>
+ <%= f.hidden_field :auth_provider %>
+ <%= f.hidden_field :auth_uid %>
+
+ <% if current_user.errors[:email].empty? %>
The reason for initially not displaying the email field is to simplify the screen and minimize the possibility of users being tempted to modify the value.
The field when there was no auth provider email available, or there already is an OSM user with the same email address.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4455#discussion_r1448701028
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4455/review/1815312005 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240111/4f03f986/attachment.htm>
More information about the rails-dev
mailing list