Sha256: a20477eeaf7dbc5326c037488c808e68eb9ceffad7f301e27ba20115d9bc4d4c

Contents?: true

Size: 305 Bytes

Versions: 5

Compression:

Stored size: 305 Bytes

Contents

module LinkedinSignIn::ButtonHelper
  def linkedin_sign_in_button(text = nil, proceed_to:, **options, &block)
    form_with url: linkedin_sign_in.authorization_path, local: true do
      hidden_field_tag(:proceed_to, proceed_to, id: nil) + button_tag(text, name: nil, **options, &block)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
linkedin_sign_in-0.6.0 app/helpers/linkedin_sign_in/button_helper.rb
linkedin_sign_in-0.5.0 app/helpers/linkedin_sign_in/button_helper.rb
linkedin_sign_in-0.4.0 app/helpers/linkedin_sign_in/button_helper.rb
linkedin_sign_in-0.3.1 app/helpers/linkedin_sign_in/button_helper.rb
linkedin_sign_in-0.3 app/helpers/linkedin_sign_in/button_helper.rb