]> git.openstreetmap.org Git - rails.git/blob - app/views/oauth/authorize.html.erb
Merge 16110:16487 from trunk.
[rails.git] / app / views / oauth / authorize.html.erb
1 <h1>Authorize access to your account</h1>
2 <p>Would you like to authorize <%= link_to @token.client_application.name,@token.client_application.url %> (<%= link_to @token.client_application.url,@token.client_application.url %>) to access your account?</p>
3 <% form_tag authorize_url do %>
4   <%= hidden_field_tag "oauth_token", @token.token %>
5   <%- if params[:oauth_callback] -%>
6   <%= hidden_field_tag "oauth_callback", params[:oauth_callback] %>
7 <%- end -%>
8 <p>
9         <%= check_box_tag 'authorize' %> authorize access
10 </p>
11 <p>
12         <%= submit_tag %>
13 </p>
14 <% end %>