]> git.openstreetmap.org Git - rails.git/commitdiff
Set OpenID tabindex higher than username/password form tabindexes
authorAnton Khorev <tony29@yandex.ru>
Tue, 23 Jan 2024 18:22:05 +0000 (21:22 +0300)
committerAnton Khorev <tony29@yandex.ru>
Tue, 23 Jan 2024 18:22:05 +0000 (21:22 +0300)
app/views/sessions/new.html.erb

index 3bf4cde5f83e59d4323f6b9334ea1a88603639b9..f15430efa554627f3b9a9dcf708818a40b6ee656 100644 (file)
@@ -40,7 +40,7 @@
         <div id='login_openid_url' class="mb-3">
           <label for='openid_url' class="form-label"><%= t ".openid_html", :logo => openid_logo %></label>
           <%= hidden_field_tag("referer", params[:referer], :autocomplete => "off") %>
-          <%= text_field_tag("openid_url", "", :tabindex => 3, :autocomplete => "on", :class => "openid_url form-control") %>
+          <%= text_field_tag("openid_url", "", :tabindex => 5, :autocomplete => "on", :class => "openid_url form-control") %>
           <span class="form-text text-muted">(<a href="<%= t "accounts.edit.openid.link" %>" target="_new"><%= t "accounts.edit.openid.link text" %></a>)</span>
         </div>