The code powering m.abunchtell.com https://m.abunchtell.com
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

26 satır
1.1 KiB

  1. .oauth-prompt
  2. %h2
  3. Application
  4. %strong=@pre_auth.client.name
  5. requests access to your account
  6. %p
  7. It will be able to
  8. = @pre_auth.scopes.map { |scope| t(scope, scope: [:doorkeeper, :scopes]) }.map { |s| "<strong>#{s}</strong>"}.to_sentence.html_safe
  9. = form_tag oauth_authorization_path, method: :post, class: 'simple_form' do
  10. = hidden_field_tag :client_id, @pre_auth.client.uid
  11. = hidden_field_tag :redirect_uri, @pre_auth.redirect_uri
  12. = hidden_field_tag :state, @pre_auth.state
  13. = hidden_field_tag :response_type, @pre_auth.response_type
  14. = hidden_field_tag :scope, @pre_auth.scope
  15. = button_tag t('doorkeeper.authorizations.buttons.authorize'), type: :submit
  16. = form_tag oauth_authorization_path, method: :delete, class: 'simple_form' do
  17. = hidden_field_tag :client_id, @pre_auth.client.uid
  18. = hidden_field_tag :redirect_uri, @pre_auth.redirect_uri
  19. = hidden_field_tag :state, @pre_auth.state
  20. = hidden_field_tag :response_type, @pre_auth.response_type
  21. = hidden_field_tag :scope, @pre_auth.scope
  22. = button_tag t('doorkeeper.authorizations.buttons.deny'), type: :submit, class: 'negative'