2019-03-25 16:04:30 +01:00
|
|
|
|
.dropdown.help-dropdown
|
2019-11-19 09:38:13 +01:00
|
|
|
|
%button.button.primary.dropdown-button Aide
|
2019-03-25 16:04:30 +01:00
|
|
|
|
.dropdown-content.fade-in-down
|
|
|
|
|
%ul.dropdown-items
|
|
|
|
|
- title = dossier.brouillon? ? "Besoin d’aide pour remplir votre dossier ?" : "Une question sur votre dossier ?"
|
|
|
|
|
|
|
|
|
|
- if dossier.messagerie_available?
|
|
|
|
|
= render partial: 'shared/help/dropdown_items/messagerie_item',
|
|
|
|
|
locals: { dossier: dossier, title: title }
|
|
|
|
|
- elsif dossier.procedure.service.present?
|
|
|
|
|
= render partial: 'shared/help/dropdown_items/service_item',
|
|
|
|
|
locals: { service: dossier.procedure.service, title: title }
|
|
|
|
|
|
|
|
|
|
= render partial: 'shared/help/dropdown_items/faq_item'
|