From 3d11a35da8c03696f26f4a1760f892d8244844d5 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Wed, 21 Jun 2017 18:11:44 +0200 Subject: [PATCH] Remove some commented code --- app/views/dossiers/_show.html.haml | 7 ------ app/views/users/passwords/edit.html.haml | 28 ------------------------ app/views/users/passwords/new.html.haml | 28 ------------------------ 3 files changed, 63 deletions(-) diff --git a/app/views/dossiers/_show.html.haml b/app/views/dossiers/_show.html.haml index a63cafa14..1aa3e24a1 100644 --- a/app/views/dossiers/_show.html.haml +++ b/app/views/dossiers/_show.html.haml @@ -5,10 +5,3 @@ .row.etape.etape-2 = render partial: '/dossiers/etapes/etape2' - - -# - if @facade.procedure.module_api_carto.use_api_carto? - -# .row.etape.etape_3 - -# = render partial: '/dossiers/etapes/etape3' - -# - -# .row.etape.etape_4 - -# = render partial: '/dossiers/etapes/etape4' diff --git a/app/views/users/passwords/edit.html.haml b/app/views/users/passwords/edit.html.haml index d1688e75c..8b7a7a563 100644 --- a/app/views/users/passwords/edit.html.haml +++ b/app/views/users/passwords/edit.html.haml @@ -1,31 +1,3 @@ --#

Sign up

--# --# <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> --# <%= devise_error_messages! %> --# --#
--# <%= f.label :email %>
--# <%= f.email_field :email, autofocus: true %> --#
--# --#
--# <%= f.label :password %> --# <% if @validatable %> --# (<%= @minimum_password_length %> characters minimum) --# <% end %>
--# <%= f.password_field :password, autocomplete: "off" %> --#
--# --#
--# <%= f.label :password_confirmation %>
--# <%= f.password_field :password_confirmation, autocomplete: "off" %> --#
--# --#
--# <%= f.submit "Sign up" %> --#
--# <% end %> - = devise_error_messages! #form-login diff --git a/app/views/users/passwords/new.html.haml b/app/views/users/passwords/new.html.haml index fa5410532..85ad6d44f 100644 --- a/app/views/users/passwords/new.html.haml +++ b/app/views/users/passwords/new.html.haml @@ -1,31 +1,3 @@ --#

Sign up

--# --# <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> --# <%= devise_error_messages! %> --# --#
--# <%= f.label :email %>
--# <%= f.email_field :email, autofocus: true %> --#
--# --#
--# <%= f.label :password %> --# <% if @validatable %> --# (<%= @minimum_password_length %> characters minimum) --# <% end %>
--# <%= f.password_field :password, autocomplete: "off" %> --#
--# --#
--# <%= f.label :password_confirmation %>
--# <%= f.password_field :password_confirmation, autocomplete: "off" %> --#
--# --#
--# <%= f.submit "Sign up" %> --#
--# <% end %> - = devise_error_messages! %br