Sha256: 69cca6a8cded246180839c840fb1b2858b71e46c63adec27470776722f826f0b

Contents?: true

Size: 521 Bytes

Versions: 8

Compression:

Stored size: 521 Bytes

Contents

=content_for(:sidebar) do
  #secondary_nav
    - nav = resource.owner.nil? ? resource : resource.owner
    = 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

8 entries across 8 versions & 1 rubygems

Version Path
sbdevcore-0.2.11 app/views/indices/show.html.haml
sbdevcore-0.2.10 app/views/indices/show.html.haml
sbdevcore-0.2.9 app/views/indices/show.html.haml
sbdevcore-0.2.8 app/views/indices/show.html.haml
sbdevcore-0.2.7 app/views/indices/show.html.haml
sbdevcore-0.2.6 app/views/indices/show.html.haml
sbdevcore-0.2.5 app/views/indices/show.html.haml
sbdevcore-0.2.4 app/views/indices/show.html.haml