add empty link instead of span on last breadcrumb item to improve display
This commit is contained in:
parent
ade95f5f5f
commit
7d7fbab5b2
1 changed files with 1 additions and 2 deletions
|
@ -10,8 +10,7 @@
|
|||
|
||||
- steps.each.with_index do |step, i|
|
||||
- if i == steps.size - 1
|
||||
%li{ aria: { current: "page" } }
|
||||
%span.fr-breadcrumb__link= step[0]
|
||||
%li= link_to step[0], '', { aria: { current: "page" } , class: 'fr-breadcrumb__link' }
|
||||
- else
|
||||
%li= link_to step[0], step[1], class: 'fr-breadcrumb__link'
|
||||
|
||||
|
|
Loading…
Reference in a new issue