From b3ce3820a9ff090f4dcccc0e4c83d83c5e7e262d Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Fri, 7 Apr 2023 22:17:12 +0200 Subject: [PATCH] refactor(ui): use proper title --- .../routing_rules_component/routing_rules_component.html.haml | 3 +-- app/views/administrateurs/groupe_instructeurs/_edit.html.haml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/components/procedure/routing_rules_component/routing_rules_component.html.haml b/app/components/procedure/routing_rules_component/routing_rules_component.html.haml index 197b1806e..bad6ae5a3 100644 --- a/app/components/procedure/routing_rules_component/routing_rules_component.html.haml +++ b/app/components/procedure/routing_rules_component/routing_rules_component.html.haml @@ -1,6 +1,5 @@ .card#routing-rules - .card-title - = t('.apply_routing_rules') + %h2.card-title= t('.apply_routing_rules') - if can_route? .notice = t('.routing_rules_notice_html', path: champs_admin_procedure_path(@procedure_id)) diff --git a/app/views/administrateurs/groupe_instructeurs/_edit.html.haml b/app/views/administrateurs/groupe_instructeurs/_edit.html.haml index 320a51fb2..b5ea5e640 100644 --- a/app/views/administrateurs/groupe_instructeurs/_edit.html.haml +++ b/app/views/administrateurs/groupe_instructeurs/_edit.html.haml @@ -11,8 +11,7 @@ = f.submit t('.button.rename'), class: 'button primary send' .card - .card-title - = t('.group_management.title') + %h2.card-title= t('.group_management.title') = form_for :groupe_instructeur, html: { class: 'form' } do |f| = f.label :label do