mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-04-12 11:00:31 -04:00
This change removes the twitter authentication feature from the application. It removes the `omniauth-twitter` gem and all related code from controllers, views, and tests. It also removes the twitter icon and environment variable settings.
18 lines
770 B
Plaintext
18 lines
770 B
Plaintext
= form_for(resource, as: resource_name,
|
|
url: registration_path(resource_name) + '#apps',
|
|
html: { method: :put, class: 'form-horizontal' }) do |_f|
|
|
%br/
|
|
= render 'devise/shared/error_messages', resource: resource
|
|
.row
|
|
.col-md-12
|
|
%p
|
|
= image_tag "flickr_32.png", size: "32x32", alt: 'Flickr logo'
|
|
- if @flickr_auth
|
|
You are connected to Flickr as
|
|
= link_to @flickr_auth.name, "https://flickr.com/photos/#{@flickr_auth.uid}"
|
|
= link_to "Disconnect", @flickr_auth,
|
|
confirm: "Are you sure you want to remove this connection?",
|
|
method: :delete, class: "remove btn btn-danger"
|
|
- else
|
|
= link_to 'Connect to Flickr', '/members/auth/flickr', class: 'btn'
|