WIP deploy breadcrumb on views

This commit is contained in:
Barnabé 2021-09-27 19:14:39 +02:00
parent af1de12b1e
commit 48e81e4524
2 changed files with 2 additions and 9 deletions

View File

@ -1,11 +1,5 @@
.qi_header
=breadcrumb("Modifier un client")
%h1
Ventes
%span
=link_to "Clients", admin_p_customers_path
%span
Modifier un client
=breadcrumb(record: @p_customer.name)
= render 'form'

View File

@ -3,8 +3,7 @@
= link_to i(:pencil), edit_admin_p_customer_path(@p_customer), :remote => false
=breadcrumb("Détail client / #{@p_customer.code} - #{@p_customer.show_name}")
=breadcrumb(record: "#{@p_customer.code} - #{@p_customer.show_name}")