2015-10-07 18:14:10 +02:00
|
|
|
|
#form_login
|
|
|
|
|
%br
|
2016-05-26 15:59:50 +02:00
|
|
|
|
- if @dossier
|
|
|
|
|
= link_to 'X', users_no_procedure_url, class: 'btn btn-xs', style:'float: right'
|
2016-06-20 13:57:57 +02:00
|
|
|
|
|
|
|
|
|
- if @dossier.procedure.euro_flag
|
|
|
|
|
#euro_flag.flag
|
|
|
|
|
=image_tag('drapeau_europe.png')
|
|
|
|
|
|
|
|
|
|
#logo_procedure.flag
|
|
|
|
|
=image_tag( @dossier.procedure.decorate.logo_img )
|
|
|
|
|
|
|
|
|
|
%h2#titre_procedure.text-info
|
|
|
|
|
= @dossier.procedure.libelle
|
|
|
|
|
%p
|
|
|
|
|
= h @dossier.procedure.description.html_safe
|
|
|
|
|
|
|
|
|
|
|
2016-05-26 15:59:50 +02:00
|
|
|
|
- else
|
2016-11-03 17:29:59 +01:00
|
|
|
|
= image_tag(image_url(LOGO_NAME), {id: 'logo_tps'})
|
2016-05-26 15:59:50 +02:00
|
|
|
|
%br
|
|
|
|
|
|
2016-11-03 16:46:26 +01:00
|
|
|
|
%h2#login_user
|
|
|
|
|
=t('dynamics.users.connexion_title')
|
2015-11-20 17:50:27 +01:00
|
|
|
|
|
2016-01-29 13:28:32 +01:00
|
|
|
|
%a.btn_fc#btn_fcp{href: '/france_connect/particulier'}
|
|
|
|
|
= image_tag 'franceconnect_logo.png'
|
2016-01-11 17:38:16 +01:00
|
|
|
|
|
2015-12-03 15:09:22 +01:00
|
|
|
|
%br
|
2016-01-29 13:28:32 +01:00
|
|
|
|
%a.text-info{href: 'https://fcp.integ01.dev-franceconnect.fr/a-propos', target: '_blank'}
|
|
|
|
|
Qu’est-ce que FranceConnect ?
|
|
|
|
|
|
|
|
|
|
%hr
|
2016-02-15 17:13:16 +01:00
|
|
|
|
= form_for @user, url: user_session_path, method: :post do |f|
|
2015-10-07 18:14:10 +02:00
|
|
|
|
%h4
|
|
|
|
|
= f.label :email
|
|
|
|
|
.input-group
|
|
|
|
|
.input-group-addon
|
2015-11-25 10:26:55 +01:00
|
|
|
|
%span.fa.fa-user
|
2015-10-07 18:14:10 +02:00
|
|
|
|
= f.email_field :email, class: 'form-control'
|
|
|
|
|
%br
|
|
|
|
|
%h4
|
2016-11-03 16:46:26 +01:00
|
|
|
|
= f.label 'Mot de passe'
|
2015-10-07 18:14:10 +02:00
|
|
|
|
.input-group
|
|
|
|
|
.input-group-addon
|
2015-11-25 10:26:55 +01:00
|
|
|
|
%span.fa.fa-asterisk
|
2016-02-15 17:13:16 +01:00
|
|
|
|
= f.password_field :password, class: 'form-control', value: "#{@user.password}"
|
2015-10-07 18:14:10 +02:00
|
|
|
|
%br
|
|
|
|
|
%br
|
|
|
|
|
.actions
|
|
|
|
|
= f.submit "Se connecter", class:'btn btn-primary'
|
|
|
|
|
%br
|
|
|
|
|
= render "users/shared/links"
|
2015-10-06 18:33:01 +02:00
|
|
|
|
|
2015-09-23 10:02:01 +02:00
|
|
|
|
|