mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-26 18:56:06 -04:00
48 lines
1.8 KiB
Plaintext
48 lines
1.8 KiB
Plaintext
= form_for(resource, as: resource_name,
|
|
url: registration_path(resource_name),
|
|
html: { method: :put, class: 'form-horizontal' }) do |_f|
|
|
%br/
|
|
= devise_error_messages!
|
|
|
|
.row
|
|
.col-md-12
|
|
%p
|
|
= image_tag "twitter_32.png", size: "32x32", alt: 'Twitter logo'
|
|
- if @twitter_auth
|
|
You are connected to Twitter as
|
|
= succeed "." do
|
|
= link_to @twitter_auth.name, "http://twitter.com/#{@twitter_auth.name}"
|
|
= link_to "Disconnect", @twitter_auth,
|
|
confirm: "Are you sure you want to remove this connection?",
|
|
method: :delete, class: "remove"
|
|
- else
|
|
= link_to 'Connect to Twitter', '/members/auth/twitter'
|
|
|
|
.row
|
|
.col-md-12
|
|
%p
|
|
= image_tag "flickr_32.png", size: "32x32", alt: 'Flickr logo'
|
|
- if @flickr_auth
|
|
You are connected to Flickr as
|
|
= succeed "." do
|
|
= link_to @flickr_auth.name, "http://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"
|
|
- else
|
|
= link_to 'Connect to Flickr', '/members/auth/flickr'
|
|
|
|
.row
|
|
.col-md-12
|
|
%p
|
|
= image_tag "facebook_32.png", size: "32x32", alt: 'Facebook logo'
|
|
- if @facebook_auth
|
|
You are connected to Facebook as
|
|
= succeed "." do
|
|
= link_to @facebook_auth.name, "http://facebook.com/profile/#{@facebook_auth.uid}"
|
|
= link_to "Disconnect", @facebook_auth,
|
|
confirm: "Are you sure you want to remove this connection?",
|
|
method: :delete, class: "remove"
|
|
- else
|
|
= link_to 'Connect to Facebook', '/members/auth/facebook'
|