Sha256: 376930558d832f42c4d93b3e5ae77b8695d51368ed605acc91efdd8ec17958f9

Contents?: true

Size: 1.21 KB

Versions: 11

Compression:

Stored size: 1.21 KB

Contents

%h1 Layouts
- render_region :top do |top|
  - top.help_text do
    %p
      Use layouts to apply a visual look to a  Web page. Layouts can contain special tags to include
      page content and other elements such as the header or footer.

%table#layouts.index{:cellspacing=>"0", :border=>"0", :cellpadding=>"0" }
  %thead
    %tr
      - render_region :thead do |thead|
        - thead.title_header do
          %th.layout
            Layout
        - thead.modify_header do
          %th.modify
            Modify
  %tbody
    - if @layouts.any?
      - @layouts.each do |layout|
        %tr.node.level-1
          - render_region :tbody do |tbody|
            - tbody.title_cell do
              %td.layout
                = image('layout', :alt => 'layout-icon')
                = link_to layout.name, edit_admin_layout_url(layout)
            - tbody.modify_cell do
              %td.remove
                = link_to image('remove', :alt => 'Remove Layout'), remove_admin_layout_url(layout)
    - else
      %tr
        %td.note{:colspan => admin.layout.index.tbody.length} No Layouts

- render_region :bottom do |bottom|
  - bottom.new_button do
    %p
      = link_to image('new-layout', :alt => "New Layout"), new_admin_layout_url

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
radiantcms-couchrest_model-0.2.4 app/views/admin/layouts/index.html.haml
radiantcms-couchrest_model-0.2.2 app/views/admin/layouts/index.html.haml
radiantcms-couchrest_model-0.2.1 app/views/admin/layouts/index.html.haml
radiantcms-couchrest_model-0.2 app/views/admin/layouts/index.html.haml
radiantcms-couchrest_model-0.1.9 app/views/admin/layouts/index.html.haml
radiantcms-couchrest_model-0.1.8 app/views/admin/layouts/index.html.haml
radiantcms-couchrest_model-0.1.7 app/views/admin/layouts/index.html.haml
radiantcms-couchrest_model-0.1.6 app/views/admin/layouts/index.html.haml
radiantcms-couchrest_model-0.1.5 app/views/admin/layouts/index.html.haml
radiant-0.8.2 app/views/admin/layouts/index.html.haml
radiant-0.8.1 app/views/admin/layouts/index.html.haml