.modal-header button.close aria-label="Close" data-dismiss="modal" type="button" span aria-hidden="true" × h4.modal-title Login #login-modal-body.modal-body.row .col-sx-12.col-sm-12.ptb20.plr0 = simple_form_for User.new, as: :session, validate: true, turboboost: true, url: sessions_path, html: {id: 'new_session'} do |f| .col-xs-12.col-sm-6.border-right-grey.no-padding .row .col-xs-12.col-sm-12 = f.input :email, placeholder: 'Email', label: false, :input_html => {class: 'username'}, validate: {uniqueness: false} .col-xs-12.col-sm-12 = f.input :password, placeholder: 'Password', label: false, :input_html => {class: 'username'} .col-xs-12.col-sm-12.mb10 = f.check_box :remember_me, value: 1, checked: params[:remember_me], class: 'checker mt0' label.pl5 Keep me logged in .col-xs-12.col-sm-12.mb10 = f.button :submit, 'Login', class: 'bx-login fs10' .col-xs-12.col-sm-12 = link_to 'Forgot your password?', new_password_path, class: 'label_forgotpass mb10', data: {refresh: :modal, target: '#remote-modal'} .col-xs-12.col-sm-6.fb-linkedIn-top.no-padding .row .col-xs-12.col-sm-12 label.login-with.mb10 | Login with .row - if params[:invitation_token].blank? .col-xs-12.col-sm-12 = link_to '', auth_at_provider_path(provider: :linkedin), class: :'circle-in mb10 white' .col-xs-12.col-sm-12 = link_to '',auth_at_provider_path(:provider => :facebook), class: :'circle-fb mb10 white' - else .col-xs-12.col-sm-12 = link_to '',auth_at_provider_path(provider: :linkedin, invitation_token: params[:invitation_token]), class: :'circle-in mb10 white' .col-xs-12.col-sm-12 = link_to '',auth_at_provider_path(provider: :facebook, invitation_token: params[:invitation_token]), class: :'circle-fb mb10 white'