Sha256: 948298a0d75c90d785c4f1101919d5a24590e3344d8378dd22b33c0355c4af65

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

- content_for :head_javascripts do
  = javascript_include_tag "concen/pages"

#content
  %h1
    = one_line do
      %span Pages
      - unless @page
        = link_to "New Page", new_concen_page_path(:level => 0), :class => "link-button"

  - if @page
    = render :partial => "nested_list", :locals => {:page => @page, :root => true}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
concen-0.2.2 app/views/concen/pages/index.html.haml
concen-0.2.1 app/views/concen/pages/index.html.haml