Add breadcrumb to settings page

This commit is contained in:
kbe
2025-09-15 17:41:23 +02:00
parent a8c7e82507
commit 9a1976b6af
2 changed files with 22 additions and 7 deletions

View File

@@ -1,5 +1,12 @@
<div class="min-h-screen bg-gray-50 py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-2xl mx-auto space-y-8">
<!-- Breadcrumb -->
<%= render 'components/breadcrumb', crumbs: [
{ name: 'Accueil', path: root_path },
{ name: 'Paramètres', path: settings_path },
{ name: 'Modifier le compte', path: nil }
] %>
<!-- Header -->
<div class="text-center">
<%= link_to "/" do %>