diff --git a/app/views/administrateurs/sessions/new.html.haml b/app/views/administrateurs/sessions/new.html.haml deleted file mode 100644 index c24523417..000000000 --- a/app/views/administrateurs/sessions/new.html.haml +++ /dev/null @@ -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 diff --git a/app/views/instructeurs/sessions/new.html.haml b/app/views/instructeurs/sessions/new.html.haml deleted file mode 100644 index ada6dabbb..000000000 --- a/app/views/instructeurs/sessions/new.html.haml +++ /dev/null @@ -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"