remove useless session views

This commit is contained in:
simon lehericey 2019-08-09 17:36:47 +02:00
parent 972b6793f7
commit d5ddd182a7
2 changed files with 0 additions and 52 deletions

View file

@ -1,26 +0,0 @@
#form-login
%h2#login_admin
= t('dynamics.admin.connexion_title')
%br
%br
#new-user
= form_for @administrateur, url: { controller: 'administrateurs/sessions', action: :create } do |f|
%h4
= f.label :email
.input-group
.input-group-addon
%span.fa.fa-user
= f.email_field :email, class: 'form-control'
%br
%h4
= f.label 'Mot de passe'
.input-group
.input-group-addon
%span.fa.fa-asterisk
= f.password_field :password, class: 'form-control', value: @administrateur.password
%br
%br
.actions
= f.submit "Se connecter", class: 'btn btn-primary'
%br

View file

@ -1,26 +0,0 @@
#form-login
%h2#instructeur_login Instructeur
%br
%br
#new-user
= form_for @instructeur, url: instructeur_session_path, method: :post do |f|
%h4
= f.label :email
.input-group
.input-group-addon
%span.fa.fa-user
= f.email_field :email, class: 'form-control'
%br
%h4
= f.label :password
.input-group
.input-group-addon
%span.fa.fa-asterisk
= f.password_field :password, autocomplete: "off", class: 'form-control', value: @instructeur.password
%br
%br
.actions
= f.submit "Se connecter", class: 'btn btn-primary'
%br
= render "instructeurs/shared/links"