From: Andy Allan Date: Wed, 22 May 2024 11:32:38 +0000 (+0100) Subject: Merge pull request #4756 from tomhughes/text-muted X-Git-Tag: live~557 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/532dd10b18fd66e239aadc8a72170d05fa8cba93?ds=sidebyside;hp=-c Merge pull request #4756 from tomhughes/text-muted Replace deprecated text-muted class with text-body-secondary --- 532dd10b18fd66e239aadc8a72170d05fa8cba93 diff --combined app/views/sessions/new.html.erb index ac1d8ed6e,39c5e9032..89d747ebc --- a/app/views/sessions/new.html.erb +++ b/app/views/sessions/new.html.erb @@@ -7,7 -7,7 +7,7 @@@ <% content_for :heading do %> <% if @client_app_name %> -

<%= t(".login_to_authorize_html", :client_app_name => @client_app_name) %>

+

<%= t(".login_to_authorize_html", :client_app_name => @client_app_name) %>

<% end %>
@@@ -16,7 -16,7 +16,7 @@@ <%= link_to t("sessions.new.tab_title"), "#", :class => "nav-link active" %>
@@@ -35,7 -35,7 +35,7 @@@ <%= bootstrap_form_tag(:action => "login", :html => { :id => "login_form" }) do |f| %> <%= hidden_field_tag("referer", h(params[:referer]), :autocomplete => "off") %> - <%= f.text_field :username, :label => t(".email or username"), :tabindex => 1, :value => params[:username] %> + <%= f.text_field :username, :label => t(".email or username"), :autofocus => true, :tabindex => 1, :value => params[:username] %>
diff --combined app/views/users/new.html.erb index 5ab9edb3f,a705ddf30..ae4483757 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@@ -7,13 -7,13 +7,13 @@@ <% content_for :heading do %> <% if @client_app_name %> -

<%= t(".signup_to_authorize_html", :client_app_name => @client_app_name) %>

+

<%= t(".signup_to_authorize_html", :client_app_name => @client_app_name) %>

<% end %>