Remove useless search button
This commit is contained in:
parent
741df66107
commit
a000c3335e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
- is_administrateur_context = nav_bar_profile == :administrateur && administrateur_signed_in?
|
||||
- is_expert_context = nav_bar_profile == :expert && expert_signed_in?
|
||||
- is_user_context = nav_bar_profile == :user
|
||||
- is_search_enabled = [params[:controller] == 'recherche', is_instructeur_context, is_expert_context, is_user_context && current_user.dossiers.count].any?
|
||||
- is_search_enabled = [params[:controller] == 'recherche', is_instructeur_context, is_expert_context].any?
|
||||
%header{ class: ["fr-header", content_for?(:notice_info) && "fr-header__with-notice-info"], role: "banner", "data-controller": "dsfr-header" }
|
||||
%nav{ :role => "navigation", "aria-label" => t('layouts.header.main_menu') }
|
||||
.fr-header__body
|
||||
|
|
Loading…
Reference in a new issue