.modal-close = link_to '', '#', class: 'close-dialog', data: {dismiss: :modal} .modal-body.text-center.iconset.plr50 = simple_form_for User.new, as: :session, validate: true, turboboost: true, url: sessions_path, html: {class: 'js-login-form', id: 'new_session'} do |f| h2.pb10.fs22 Existing User Sign In - if session[:expert_session] = flash_container(:alert, 'Please login or signup to complete your booking process.') = f.input :email, label: false, validate: {uniqueness: false} = f.input :password, label: false, validate: {presence: true, length: false} .clearfix = f.button :submit, "Login", class: 'js-submit-login fixxpert-btn-login txt-log' .box_rememberme = f.check_box :remember_me, value: 1, checked: params[:remember_me], class: 'checker' .label_checker | Remember me = link_to 'Forgot your password?', new_password_path, class: 'label_forgotpass', data: {refresh: :modal, target: '#remote-modal'} .clearfix .deepline-gw.mt20.mb20 .or-txt | OR .log-social-link .mtb10.fs12.semibold | Login with .pull-left.mr10 = link_to '', auth_at_provider_path(:provider => :facebook, :type => Customer.model_name.human.downcase), class: 'circle-fb' .pull-left = link_to '', auth_at_provider_path(:provider => :linkedin, :type => Customer.model_name.human.downcase), class: 'circle-in' .clearfix .align-center.pad10.mt20.mb20 = link_to signup_path(type: Customer.model_name.human.downcase), class: 'bx-regis' do = "#{Customer.model_name.human} Sign Up"