= simple_form_for User.new, as: :session, validate: true, turboboost: true, url: sessions_path, html: {id: 'new_session'} do |f| .row .col-xs-12.col-sm-12.col-md-5.plr5 = f.input :email, placeholder: 'Email', label: false, :input_html => {class: 'username'} .col-xs-12.col-sm-12.col-md-5.plr5 = f.input :password, placeholder: 'Password', label: false, :input_html => {class: 'username'} .col-xs-12.col-sm-12.col-md-2.plr5.center = f.button :submit, 'Login', class: 'bx-login' .row .col-xs-12.col-sm-12.col-md-3.rememberMe.no-padding = f.check_box :remember_me, value: 1, checked: params[:remember_me], class: 'checker mt0' label Keep me logged in .col-xs-12.col-sm-12.col-md-5.forgotPassword = link_to 'Forgot your password?', new_password_path, class: 'label_forgotpass txt-white', data: {toggle: :modal, target: '#remote-modal'} .col-xs-12.col-sm-12.col-md-4.fb-linkedIn-top .col-xs-6.col-sm-6.col-md-6.no-padding label.login-with | Login with .col-xs-6.col-sm-6.col-md-6.no-padding - if params[:invitation_token].blank? = link_to '', auth_at_provider_path(provider: :linkedin), class: :'circle-in pull-left mr5 white' = link_to '',auth_at_provider_path(:provider => :facebook), class: :'circle-fb pull-left white' - else = link_to '',auth_at_provider_path(provider: :linkedin, invitation_token: params[:invitation_token]), class: :'circle-in pull-left mr5 white' = link_to '',auth_at_provider_path(provider: :facebook, invitation_token: params[:invitation_token]), class: :'circle-fb pull-left white'