2022-05-11 16:08:48 +02:00
|
|
|
|
.dropdown.help-dropdown{ data: { controller: 'menu-button' } }
|
|
|
|
|
%button.button.primary.dropdown-button{ data: { menu_button_target: 'button' } }
|
2022-04-13 15:44:29 +02:00
|
|
|
|
= t('help')
|
2022-05-11 16:08:48 +02:00
|
|
|
|
#help-menu.dropdown-content.fade-in-down{ data: { menu_button_target: 'menu' } }
|
2019-03-25 16:04:30 +01:00
|
|
|
|
%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'
|