demarches-normaliennes/app/views/shared/help/_help_dropdown_procedure.html.haml
2023-02-27 17:23:43 +01:00

9 lines
485 B
Text

= render Dropdown::MenuComponent.new(wrapper: :span, wrapper_options: { class: ['help-dropdown']}, menu_options: { id: "help-menu" }) do |menu|
- menu.with_button_inner_html do
= t('help')
- if procedure.service.present?
- menu.with_item do
= render partial: 'shared/help/dropdown_items/service_item', locals: { service: procedure.service, title: t('help_dropdown.procedure_title') }
- menu.with_item do
= render partial: 'shared/help/dropdown_items/faq_item'