X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/87d38efbb072a99bea2bbeaac11d6fa37dd0d9ee:/app/views/oauth/oauthorize.html.erb..7b89dc63496de0b6131a93c57d283ebb4490804b:/app/views/oauth/authorize.html.erb diff --git a/app/views/oauth/oauthorize.html.erb b/app/views/oauth/authorize.html.erb similarity index 68% rename from app/views/oauth/oauthorize.html.erb rename to app/views/oauth/authorize.html.erb index ffb403be1..eaf43f9d1 100644 --- a/app/views/oauth/oauthorize.html.erb +++ b/app/views/oauth/authorize.html.erb @@ -1,5 +1,5 @@

Authorize access to your account

-

<%= t('oauth.oauthorize.request_access', :app_name => link_to(@token.client_application.name, @token.client_application.url), :user => link_to(@user.display_name, :controller => :user, :action => :view, :display_name => @user.display_name)) %>

+

<%= raw t('oauth.oauthorize.request_access', :app_name => link_to(@token.client_application.name, @token.client_application.url), :user => link_to(@user.display_name, :controller => :user, :action => :view, :display_name => @user.display_name)) %>

<%= form_tag authorize_url do %> <%= hidden_field_tag "oauth_token", @token.token %> <%- if params[:oauth_callback] -%>