Add titles

This commit is contained in:
gregoirenovel 2018-08-29 17:09:48 +02:00
parent 6b88968889
commit 37c0552c64
6 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,5 @@
- content_for(:title, "Demande · Dossier nº #{@dossier.id} (#{@dossier.procedure.libelle})")
#dossier-show #dossier-show
= render partial: 'new_user/dossiers/show/header', locals: { dossier: @dossier } = render partial: 'new_user/dossiers/show/header', locals: { dossier: @dossier }

View file

@ -1,3 +1,5 @@
- content_for(:title, "Nouveau dossier (#{@dossier.procedure.libelle})")
- content_for :footer do - content_for :footer do
= render partial: "new_user/dossiers/footer", locals: { dossier: @dossier } = render partial: "new_user/dossiers/footer", locals: { dossier: @dossier }

View file

@ -1,3 +1,5 @@
- content_for(:title, "Dossiers")
.dossiers-headers.sub-header .dossiers-headers.sub-header
.container .container
= link_to "Commencer une nouvelle démarche", new_demarche_url, class: "button secondary new-demarche" = link_to "Commencer une nouvelle démarche", new_demarche_url, class: "button secondary new-demarche"

View file

@ -1,3 +1,5 @@
- content_for(:title, "Dossier bien envoyé (#{@dossier.procedure.libelle})")
.merci .merci
.container .container
= image_tag('user/envoi-dossier.svg') = image_tag('user/envoi-dossier.svg')

View file

@ -1,3 +1,5 @@
- content_for(:title, "Modification du brouillon nº #{@dossier.id} (#{@dossier.procedure.libelle})")
- content_for :footer do - content_for :footer do
= render partial: "new_user/dossiers/footer", locals: { dossier: @dossier } = render partial: "new_user/dossiers/footer", locals: { dossier: @dossier }

View file

@ -1,3 +1,5 @@
- content_for(:title, "Résumé · Dossier nº #{@dossier.id} (#{@dossier.procedure.libelle})")
#dossier-show #dossier-show
= render partial: 'new_user/dossiers/show/header', locals: { dossier: @dossier } = render partial: 'new_user/dossiers/show/header', locals: { dossier: @dossier }