X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e222329d043592af299eed12cf6ad16969c1b46f..9b0767b80fcd2ad919ea09277eed921580ad1b1a:/app/views/oauth2_authorizations/new.html.erb diff --git a/app/views/oauth2_authorizations/new.html.erb b/app/views/oauth2_authorizations/new.html.erb index 00d2a01af..971e0e20a 100644 --- a/app/views/oauth2_authorizations/new.html.erb +++ b/app/views/oauth2_authorizations/new.html.erb @@ -10,31 +10,29 @@ <% end -%> -
-
-
- <%= bootstrap_form_tag :action => :create do |f| %> - <%= f.hidden_field :client_id, :value => @pre_auth.client.uid %> - <%= f.hidden_field :redirect_uri, :value => @pre_auth.redirect_uri %> - <%= f.hidden_field :state, :value => @pre_auth.state %> - <%= f.hidden_field :response_type, :value => @pre_auth.response_type %> - <%= f.hidden_field :scope, :value => @pre_auth.scope %> - <%= f.hidden_field :code_challenge, :value => @pre_auth.code_challenge %> - <%= f.hidden_field :code_challenge_method, :value => @pre_auth.code_challenge_method %> - <%= f.primary t(".authorize") %> - <% end %> -
-
- <%= bootstrap_form_tag :action => :destroy, :html => { :method => :delete } do |f| %> - <%= f.hidden_field :client_id, :value => @pre_auth.client.uid %> - <%= f.hidden_field :redirect_uri, :value => @pre_auth.redirect_uri %> - <%= f.hidden_field :state, :value => @pre_auth.state %> - <%= f.hidden_field :response_type, :value => @pre_auth.response_type %> - <%= f.hidden_field :scope, :value => @pre_auth.scope %> - <%= f.hidden_field :code_challenge, :value => @pre_auth.code_challenge %> - <%= f.hidden_field :code_challenge_method, :value => @pre_auth.code_challenge_method %> - <%= f.submit t(".deny") %> - <% end %> -
+
+
+ <%= bootstrap_form_tag :action => :create do |f| %> + <%= f.hidden_field :client_id, :value => @pre_auth.client.uid %> + <%= f.hidden_field :redirect_uri, :value => @pre_auth.redirect_uri %> + <%= f.hidden_field :state, :value => @pre_auth.state %> + <%= f.hidden_field :response_type, :value => @pre_auth.response_type %> + <%= f.hidden_field :scope, :value => @pre_auth.scope %> + <%= f.hidden_field :code_challenge, :value => @pre_auth.code_challenge %> + <%= f.hidden_field :code_challenge_method, :value => @pre_auth.code_challenge_method %> + <%= f.primary t(".authorize") %> + <% end %> +
+
+ <%= bootstrap_form_tag :action => :destroy, :html => { :method => :delete } do |f| %> + <%= f.hidden_field :client_id, :value => @pre_auth.client.uid %> + <%= f.hidden_field :redirect_uri, :value => @pre_auth.redirect_uri %> + <%= f.hidden_field :state, :value => @pre_auth.state %> + <%= f.hidden_field :response_type, :value => @pre_auth.response_type %> + <%= f.hidden_field :scope, :value => @pre_auth.scope %> + <%= f.hidden_field :code_challenge, :value => @pre_auth.code_challenge %> + <%= f.hidden_field :code_challenge_method, :value => @pre_auth.code_challenge_method %> + <%= f.submit t(".deny") %> + <% end %>