diff --git a/app/views/new_gestionnaire/dossiers/annotations_privees.html.haml b/app/views/new_gestionnaire/dossiers/annotations_privees.html.haml index ca03bebd9..56e44d905 100644 --- a/app/views/new_gestionnaire/dossiers/annotations_privees.html.haml +++ b/app/views/new_gestionnaire/dossiers/annotations_privees.html.haml @@ -8,7 +8,7 @@ = form_for @dossier, url: annotations_dossier_path(@dossier.procedure, @dossier), html: { class: 'form' } do |f| = f.fields_for :champs_private, f.object.ordered_champs_private do |champ_form| - champ = champ_form.object - = render partial: "new_gestionnaire/dossiers/champs/champ", + = render partial: "new_gestionnaire/dossiers/editable_champs/editable_champ", locals: { champ: champ, form: champ_form, seen_at: @annotations_privees_seen_at } .send-wrapper diff --git a/app/views/new_gestionnaire/dossiers/champs/_address.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_address.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_address.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_address.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_champ_label.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_champ_label.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_champ_label.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_champ_label.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_checkbox.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_checkbox.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_checkbox.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_checkbox.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_civilite.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_civilite.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_civilite.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_civilite.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_date.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_date.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_date.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_date.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_datetime.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_datetime.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_datetime.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_datetime.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_departements.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_departements.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_departements.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_departements.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_dossier_link.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_dossier_link.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_dossier_link.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_dossier_link.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_drop_down_list.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_drop_down_list.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_drop_down_list.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_drop_down_list.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_champ.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_editable_champ.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_champ.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_editable_champ.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_email.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_email.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_email.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_email.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_engagement.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_engagement.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_engagement.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_engagement.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_explication.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_explication.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_explication.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_explication.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_header_section.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_header_section.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_header_section.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_header_section.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_multiple_drop_down_list.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_multiple_drop_down_list.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_multiple_drop_down_list.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_multiple_drop_down_list.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_number.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_number.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_number.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_number.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_pays.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_pays.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_pays.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_pays.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_phone.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_phone.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_phone.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_phone.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_regions.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_regions.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_regions.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_regions.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_text.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_text.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_text.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_text.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_textarea.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_textarea.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_textarea.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_textarea.html.haml diff --git a/app/views/new_gestionnaire/dossiers/champs/_yes_no.html.haml b/app/views/new_gestionnaire/dossiers/editable_champs/_yes_no.html.haml similarity index 100% rename from app/views/new_gestionnaire/dossiers/champs/_yes_no.html.haml rename to app/views/new_gestionnaire/dossiers/editable_champs/_yes_no.html.haml