X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d0e8f723117cc311389524fd3e3e73a4b0fe5626..aac2829ea8485c229889feb1276b03ff7945de0f:/app/views/sessions/new.html.erb diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb index 90611f214..acbf8dab0 100644 --- a/app/views/sessions/new.html.erb +++ b/app/views/sessions/new.html.erb @@ -6,25 +6,36 @@ <% content_for :heading_class, "p-0 mw-100" %> <% content_for :heading do %> + <% if @client_app_name %> +
<%= t(".login_to_authorize_html", :client_app_name => @client_app_name) %>
+ <% end %> +<%= t ".no account" %> <%= link_to t(".register now"), user_new_path(:referer => params[:referer]) %>
+ <% if @preferred_auth_provider %> + <%= render :partial => "auth_providers" %> +