demarches-normaliennes/app/views/layouts/header/_avis_tab.html.haml
2022-09-06 10:09:12 +02:00

5 lines
249 B
Text

%li.fr-nav__item
= active_link_to expert_all_avis_path, active: controller_name == 'avis', class: 'fr-nav__link' do
Avis
- if current_expert.avis_summary[:unanswered] > 0
%span.badge.warning= current_expert.avis_summary[:unanswered]