2015-10-07 11:24:07 +02:00
|
|
|
%div{style:'text-align:center'}
|
2015-10-06 18:33:01 +02:00
|
|
|
%h2#login_user Connexion
|
2015-10-07 11:24:07 +02:00
|
|
|
%br
|
|
|
|
%div#form_login.row
|
|
|
|
%div.col-md-6.col-lg-6
|
|
|
|
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
|
|
|
%h4
|
|
|
|
= f.label :email
|
|
|
|
= f.email_field :email, autofocus: true, class: 'form-control'
|
|
|
|
%br
|
|
|
|
%h4
|
|
|
|
= f.label :password
|
|
|
|
= f.password_field :password, autocomplete: "off", class: 'form-control'
|
|
|
|
%br
|
|
|
|
/ - if devise_mapping.rememberable?
|
|
|
|
/ .field
|
|
|
|
/ = f.check_box :remember_me
|
|
|
|
/ = f.label :remember_me
|
|
|
|
.actions
|
|
|
|
= f.submit "Se connecter", class:'btn btn-primary btn-lg'
|
|
|
|
%br
|
2015-10-06 18:33:01 +02:00
|
|
|
|
2015-10-07 11:24:07 +02:00
|
|
|
= render "users/shared/links"
|
2015-10-06 18:33:01 +02:00
|
|
|
|
2015-10-07 11:24:07 +02:00
|
|
|
%div.col-md-6.col-lg-6.border-left
|
|
|
|
%img#logo_fc{src: '/assets/logo_FC_03.png', style:'max-height:180px'}
|
|
|
|
%br
|
|
|
|
%button.btn.btn-info.btn-lg
|
|
|
|
= link_to "Connexion", '/france_connect', id: 'france_connect', style:'color:white; text-decoration: none'
|
2015-09-23 10:02:01 +02:00
|
|
|
|