Sha256: 054f3571c2fe8accaaf7df2317cc5cf948be1c8401e3da40ebb5e4fc3ef775a2

Contents?: true

Size: 318 Bytes

Versions: 5

Compression:

Stored size: 318 Bytes

Contents

.bread-crumbs
  = link_to_unless_current '', root_path, class: :home
  - breadcrumbs.each_with_index do |breadcrumb, index|
    - css_class = []
    - css_class << :down if index == breadcrumbs.length - 1
    = link_to_unless_current h(breadcrumb.label), breadcrumb.url,
      class: (css_class if css_class.present?)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/install/auto/app/views/shared/helpers/_show_breadcrumbs.slim
adminos-1.0.0.pre.rc.4 lib/generators/templates/install/auto/app/views/shared/helpers/_show_breadcrumbs.slim
adminos-1.0.0.pre.rc.3 lib/generators/templates/install/auto/app/views/shared/helpers/_show_breadcrumbs.slim
adminos-1.0.0.pre.rc.2 lib/generators/templates/install/auto/app/views/shared/helpers/_show_breadcrumbs.slim
adminos-1.0.0.pre.rc.1 lib/generators/templates/install/auto/app/views/shared/helpers/_show_breadcrumbs.slim