+
+ <%= render 'components/breadcrumb', crumbs: [
+ { name: 'Accueil', path: root_path },
+ { name: 'Paramètres', path: settings_path },
+ { name: 'Modifier le compte', path: nil }
+ ] %>
+
<%= link_to "/" do %>
diff --git a/app/views/settings/show.html.erb b/app/views/settings/show.html.erb
index ec61251..c3afe63 100644
--- a/app/views/settings/show.html.erb
+++ b/app/views/settings/show.html.erb
@@ -1,4 +1,12 @@
+
+
+ <%= render 'components/breadcrumb', crumbs: [
+ { name: 'Accueil', path: root_path },
+ { name: 'Paramètres', path: settings_path }
+ ] %>
+
+
@@ -41,7 +49,7 @@
- <%= f.text_field :first_name,
+ <%= f.text_field :first_name,
class: "block w-full pl-10 pr-3 py-3 border border-gray-300 rounded-xl shadow-sm placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-purple-500 transition-colors",
placeholder: "Votre prénom" %>
@@ -53,7 +61,7 @@
- <%= f.text_field :last_name,
+ <%= f.text_field :last_name,
class: "block w-full pl-10 pr-3 py-3 border border-gray-300 rounded-xl shadow-sm placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-purple-500 transition-colors",
placeholder: "Votre nom de famille" %>
@@ -65,13 +73,13 @@
Type de compte
- <%= f.check_box :is_professionnal,
+ <%= f.check_box :is_professionnal,
class: "mt-1 h-5 w-5 text-purple-600 border-gray-300 rounded focus:ring-purple-500" %>
- <%= f.label :is_professionnal, "Compte professionnel",
+ <%= f.label :is_professionnal, "Compte professionnel",
class: "block text-sm font-medium text-gray-900 cursor-pointer" %>
- Les comptes professionnels peuvent créer et gérer des événements.
+ Les comptes professionnels peuvent créer et gérer des événements.
Cette option vous permet d'accéder aux fonctionnalités de promotion d'événements.
@@ -92,7 +100,7 @@
Gestion du compte
- <%= link_to edit_user_registration_path,
+ <%= link_to edit_user_registration_path,
class: "flex items-center p-3 text-gray-700 hover:bg-gray-50 rounded-lg transition-colors" do %>
@@ -112,4 +120,4 @@
<% end %>
-
\ No newline at end of file
+