diff --git a/app/views/admin/p_customer_cats/index.html.haml b/app/views/admin/p_customer_cats/index.html.haml index a447feb..ae53751 100644 --- a/app/views/admin/p_customer_cats/index.html.haml +++ b/app/views/admin/p_customer_cats/index.html.haml @@ -1,9 +1,6 @@ .qi_header .right= link_to 'Ajouter une catégorie', new_admin_p_customer_cat_path(), :class => "btn btn-primary", :remote => true - %h1 - Produits - %span - Catégories + =breadcrumb .qi_row @@ -18,4 +15,4 @@ %tbody#p_customer_cats_rows =render @p_customer_cats - \ No newline at end of file + diff --git a/app/views/admin/p_customers/edit.html.haml b/app/views/admin/p_customers/edit.html.haml index 4f29362..0981487 100644 --- a/app/views/admin/p_customers/edit.html.haml +++ b/app/views/admin/p_customers/edit.html.haml @@ -1,4 +1,5 @@ .qi_header + =breadcrumb("Modifier un client") %h1 Ventes %span diff --git a/app/views/admin/p_customers/index.html.haml b/app/views/admin/p_customers/index.html.haml index 8c34c18..6d34ced 100644 --- a/app/views/admin/p_customers/index.html.haml +++ b/app/views/admin/p_customers/index.html.haml @@ -7,11 +7,9 @@ -else .right =link_to "< Retour aux demandes de commande", admin_p_customer_sheets_path + =breadcrumb - %h1 - =breadcrumb - =hello - + diff --git a/app/views/admin/p_customers/new.html.haml b/app/views/admin/p_customers/new.html.haml index a3ca07d..99210cb 100644 --- a/app/views/admin/p_customers/new.html.haml +++ b/app/views/admin/p_customers/new.html.haml @@ -1,10 +1,5 @@ .qi_header - %h1 - Ventes - %span - =link_to "Clients", admin_p_customers_path - %span - Créer un nouveau client + =breadcrumb = render 'form' diff --git a/app/views/admin/p_customers/show.html.haml b/app/views/admin/p_customers/show.html.haml index deab7df..6eedb53 100644 --- a/app/views/admin/p_customers/show.html.haml +++ b/app/views/admin/p_customers/show.html.haml @@ -3,15 +3,8 @@ = link_to i(:pencil), edit_admin_p_customer_path(@p_customer), :remote => false - - %h1 - Clients - %span - Détail d'un client - %span - =link_to [:admin, @p_customer] do - =@p_customer.code - =@p_customer.show_name + =breadcrumb("Détail client / #{@p_customer.code} - #{@p_customer.show_name}") + @@ -294,4 +287,4 @@ - \ No newline at end of file +