Sha256: b95ac62a491a8c384b90d8b34547a016c8ef1118c50bffecf3dee80197f3884d

Contents?: true

Size: 885 Bytes

Versions: 6

Compression:

Stored size: 885 Bytes

Contents

- content_for :page_toolbar do
  - if association_chain.empty? and action_name == 'index'
    = render 'page_actions'
  - else
    .row-fluid
      %ul.breadcrumb.span8
        - association_chain.each_with_index do |obj, i|
          %li
            %small= link_to model_name_pluralize(obj.class),
                      url_for(association_chain[0...i] << association_chain[i].class)
            %span.divider /
          %li
            = link_to obj.to_label, url_for(association_chain[0..i])
            %span.divider /
        %li
          %small= link_to model_name_pluralize(resource_class), collection_path
          %span.divider /
        - unless collection_action?
          %li.active
            = link_to resource.to_label, resource_path
            %span.divider /
      = render 'page_actions'

-#= render 'home/sidebar' if sidebar
= title *Array.wrap(title_params)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
basepack-1.0.1 app/views/basepack/base/_header.html.haml
basepack-1.0.0 app/views/basepack/base/_header.html.haml
basepack-1.0.0.pre.0 app/views/basepack/base/_header.html.haml
basepack-0.2.0 app/views/basepack/base/_header.html.haml
basepack-0.1.0 app/views/basepack/base/_header.html.haml
basepack-0.0.2 app/views/basepack/base/_header.html.haml