Sha256: d5eb31e0a8448190657a9e41b5bd4614c68cc3eb34ef0de5ef710d2eebfef81e

Contents?: true

Size: 518 Bytes

Versions: 22

Compression:

Stored size: 518 Bytes

Contents

=content_for(:sidebar) do
  - nav = resource
  - unless nav.indices.empty?
    #secondary_nav
      = link_to nav.title.titleize, "/" + nav.name, :class => 'button current', :remote => true
      -nav.indices.each do |page|
        = link_to page.title.titleize, "/" + page.name, :class => 'button secondary', :remote => true

=(render :partial => 'show', :object => resource, :as => resource_class.to_s.downcase.to_sym)
- if request.xhr?
  .content_for.hidden
    #content_for_sidebar
      =@view_flow.get(:sidebar)

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
sbdevcore-0.3.10 app/views/indices/show.html.haml
sbdevcore-0.3.9 app/views/indices/show.html.haml
sbdevcore-0.3.8 app/views/indices/show.html.haml
sbdevcore-0.3.7 app/views/indices/show.html.haml
sbdevcore-0.3.6 app/views/indices/show.html.haml
sbdevcore-0.3.5 app/views/indices/show.html.haml
sbdevcore-0.3.4 app/views/indices/show.html.haml
sbdevcore-0.3.3 app/views/indices/show.html.haml
sbdevcore-0.3.2 app/views/indices/show.html.haml
sbdevcore-0.3.1 app/views/indices/show.html.haml
sbdevcore-0.3.0 app/views/indices/show.html.haml
sbdevcore-0.2.26 app/views/indices/show.html.haml
sbdevcore-0.2.25 app/views/indices/show.html.haml
sbdevcore-0.2.24 app/views/indices/show.html.haml
sbdevcore-0.2.23 app/views/indices/show.html.haml
sbdevcore-0.2.22 app/views/indices/show.html.haml
sbdevcore-0.2.21 app/views/indices/show.html.haml
sbdevcore-0.2.20 app/views/indices/show.html.haml
sbdevcore-0.2.19 app/views/indices/show.html.haml
sbdevcore-0.2.18 app/views/indices/show.html.haml