% if feature?(:twitter_login) || feature?(:facebook_login) || feature?(:google_login) %>
<% if current_page?(new_user_session_path) %>
<%= t("omniauth.info_sign_in") %>
<% if feature? :twitter_login %>
<%= link_to t("omniauth.twitter.name"), user_twitter_omniauth_authorize_path,
title: t("omniauth.twitter.sign_in"),
class: "button-twitter button expanded",
method: :post %>
<% end %>
<% if feature? :facebook_login %>
<%= link_to t("omniauth.facebook.name"), user_facebook_omniauth_authorize_path,
title: t("omniauth.facebook.sign_in"),
class: "button-facebook button expanded",
method: :post %>
<% end %>
<% if feature? :google_login %>
<%= link_to t("omniauth.google_oauth2.name"), user_google_oauth2_omniauth_authorize_path,
title: t("omniauth.google_oauth2.sign_in"),
class: "button-google button expanded",
method: :post %>
<% end %>
<% if feature? :wordpress_login %>
<%= link_to t("omniauth.wordpress_oauth2.name"), user_wordpress_oauth2_omniauth_authorize_path,
title: t("omniauth.wordpress_oauth2.sign_in"),
class: "button-wordpress button expanded",
method: :post %>
<% end %>
<%= t("omniauth.or_fill") %>
<% elsif current_page?(new_user_registration_path) %>
<%= t("omniauth.info_sign_up") %>
<% if feature? :twitter_login %>
<%= link_to t("omniauth.twitter.name"), user_twitter_omniauth_authorize_path,
title: t("omniauth.twitter.sign_up"),
class: "button-twitter button expanded",
method: :post %>
<% end %>
<% if feature? :facebook_login %>
<%= link_to t("omniauth.facebook.name"), user_facebook_omniauth_authorize_path,
title: t("omniauth.facebook.sign_up"),
class: "button-facebook button expanded",
method: :post %>
<% end %>
<% if feature? :google_login %>
<%= link_to t("omniauth.google_oauth2.name"), user_google_oauth2_omniauth_authorize_path,
title: t("omniauth.google_oauth2.sign_up"),
class: "button-google button expanded",
method: :post %>
<% end %>
<% if feature? :wordpress_login %>
<%= link_to t("omniauth.wordpress_oauth2.name"), user_wordpress_oauth2_omniauth_authorize_path,
title: t("omniauth.wordpress_oauth2.sign_up"),
class: "button-wordpress button expanded",
method: :post %>
<% end %>
<%= t("omniauth.or_fill") %>
<% end %>
<% end %>