<%=t "devise.sessions.new.title" %>
<%- if Rails.configuration.x.enable_user_registration && Rails.configuration.x.linkedin_signin_enabled && @oauth_authorize != true %>
<%= render partial: "users/shared/linkedin_sign_in_links", locals: { resource_name: resource_name } %>
<%= t("devise.sessions.new.or") %>
<% end -%>
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<%= f.label :email, t("devise.sessions.new.email_field") %>
<%= f.email_field :email, autofocus: true, class: "form-control sci-input-field", placeholder: t("devise.sessions.new.email_placeholder") %>
<%= f.label :password, t("devise.sessions.new.password_field") %>
<%= f.password_field :password, autocomplete: "off", class: "form-control sci-input-field", placeholder: t("devise.sessions.new.password_placeholder") %>
<% if devise_mapping.rememberable? && !@simple_sign_in %>
<%= f.check_box :remember_me, class: "sci-checkbox" %>
<%= f.label :remember_me, t("devise.sessions.new.remember_me") %>
<% end %>
<%= hidden_field_tag(:simple_sign_in, @simple_sign_in) %>
<%= f.button t("devise.sessions.new.submit"), class: "btn btn-primary log-in-button" %>
<% end %>
<%= render partial: "users/shared/links", locals: {linkedin_skip: true} unless @simple_sign_in %>