Sha256: fa4f27084edde874b8a0e4cdc6d499944e42c7880aa6411046ca0cf8d746c531

Contents?: true

Size: 1023 Bytes

Versions: 15

Compression:

Stored size: 1023 Bytes

Contents

- content_for :main do

  %h1 View #{@view.name}

  %p 
    = icon_to "Render", "/view/#{@view.name}"
  %p
    %strong Body
    %pre(style="overflow: auto; width: 725px; border: thin #AAA solid; padding: 10px; ")
      = @view.body
  
  %p
    %strong Type:
    = @view.template_type


  %p
    %strong Header
    %pre(style="overflow: auto; width: 725px; border: thin #AAA solid; padding: 10px; ")
      = @view.header

  %p
    %strong Footer
    %pre(style="overflow: auto; width: 725px; border: thin #AAA solid; padding: 10px; ")
      = @view.footer

  %p
    %strong Where Clause:
    = @view.where_clause

  %p
    %strong Order By:
    = @view.order_by

  %p
    %strong Page Template:
    = @view.page_template.name

  %p
    %strong Layout:
    = @view.layout.name

  %p
    %strong Per Page:
    = @view.per_page



  %p
    = icon_to "Edit", "/admin/views/#{@view.id}/edit"
    = icon_to "Delete", [:admin, @view], false,  :confirm => 'Are you sure?', :method => :delete
    = icon_to "Views", admin_views_path

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kit_cms-2.3.22 app/views/admin/views/show.html.haml
kit_cms-2.3.20 app/views/admin/views/show.html.haml
kit_cms-2.3.19 app/views/admin/views/show.html.haml
kit_cms-2.3.18 app/views/admin/views/show.html.haml
kit_cms-2.3.17 app/views/admin/views/show.html.haml
kit_cms-2.3.16 app/views/admin/views/show.html.haml
kit_cms-2.3.15 app/views/admin/views/show.html.haml
kit_cms-2.3.14 app/views/admin/views/show.html.haml
kit_cms-2.3.13 app/views/admin/views/show.html.haml
kit_cms-2.3.11 app/views/admin/views/show.html.haml
kit_cms-2.3.10 app/views/admin/views/show.html.haml
kit_cms-2.3.9 app/views/admin/views/show.html.haml
kit_cms-2.3.8 app/views/admin/views/show.html.haml
kit_cms-2.3.7 app/views/admin/views/show.html.haml
kit_cms-2.3.6 app/views/admin/views/show.html.haml