Sha256: 4bdf3d07abea320bb8e4dc9ac01cc3b266950af68b76062e23cb5ee7631a3720

Contents?: true

Size: 942 Bytes

Versions: 1

Compression:

Stored size: 942 Bytes

Contents

Deface::Override.new(:virtual_path => "spree/user_registrations/new",
                     :name => "add_socials_to_login_extras",
                     :insert_after => "[data-hook='login_extras']",
                     :text => %q(<%= render :partial => 'spree/shared/social' unless session[:omniauth] %>),
                     :disabled => false)

Deface::Override.new(:virtual_path => "spree/user_sessions/new",
                     :name => "add_socials_to_login_extras",
                     :insert_after => "[data-hook='login_extras']",
                     :partial => "spree/shared/social",
                     :disabled => false)

Deface::Override.new(:virtual_path => "spree/user_registrations/new",
                     :name => "remove_new_customer_if_sessionomniauth",
                     :replace => "div#new-customer h6",
                     :partial => "spree/users/new-customer",
                     :disabled => false)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_social_onr-2.1.4 app/overrides/user_registrations_decorator.rb