From f41b1b59c063b8384da88ab4d6253f6c63a6e4f7 Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Tue, 11 Jul 2017 16:56:25 +0200 Subject: [PATCH] Add tabs partial --- app/views/new_gestionnaire/dossiers/_header.html.haml | 10 ++++++++++ app/views/new_gestionnaire/dossiers/show.html.haml | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 app/views/new_gestionnaire/dossiers/_header.html.haml diff --git a/app/views/new_gestionnaire/dossiers/_header.html.haml b/app/views/new_gestionnaire/dossiers/_header.html.haml new file mode 100644 index 000000000..fd94341d7 --- /dev/null +++ b/app/views/new_gestionnaire/dossiers/_header.html.haml @@ -0,0 +1,10 @@ +.container + %ul.tabs + %li + = link_to "Demande", "#", class: ("selected" if request.path == dossier_path(dossier.procedure, dossier)) + %li + = link_to "Instruction", "#" + %li + = link_to "Messagerie", "#" + %li + = link_to "Historique", "#" diff --git a/app/views/new_gestionnaire/dossiers/show.html.haml b/app/views/new_gestionnaire/dossiers/show.html.haml index 7bbba6c0f..585c2b240 100644 --- a/app/views/new_gestionnaire/dossiers/show.html.haml +++ b/app/views/new_gestionnaire/dossiers/show.html.haml @@ -1,3 +1,5 @@ += render partial: "header", locals: { dossier: @dossier } + .container .card .card-title Identité du demandeur