Change help menu design pattern (offline pages)
This commit is contained in:
parent
bc95b5b323
commit
bbfcb689d3
1 changed files with 11 additions and 8 deletions
|
@ -1,9 +1,12 @@
|
|||
= render Dropdown::MenuComponent.new(wrapper: :span, wrapper_options: { class: ['help-dropdown']}, menu_options: { id: "help-menu" }) do |menu|
|
||||
- menu.with_button_inner_html do
|
||||
.fr-translate.fr-nav
|
||||
.fr-nav__item
|
||||
%button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" }
|
||||
= t('help')
|
||||
|
||||
#help-menu.help__content.fr-collapse.fr-menu
|
||||
%ul.fr-menu__list
|
||||
- if procedure.service.present?
|
||||
- menu.with_item do
|
||||
%li.flex
|
||||
= render partial: 'shared/help/dropdown_items/service_item', locals: { service: procedure.service, title: t('help_dropdown.procedure_title') }
|
||||
- menu.with_item do
|
||||
%li.flex
|
||||
= render partial: 'shared/help/dropdown_items/faq_item'
|
||||
|
|
Loading…
Reference in a new issue