Sha256: d2de731077a5ad03b4b1f0189f6c0b78370950f86414d4f1ab0cd04504f96102

Contents?: true

Size: 636 Bytes

Versions: 6

Compression:

Stored size: 636 Bytes

Contents

- title @page.title
.page{id: "page_#{@page.id}", data: {page_id: @page.id}}
  = render 'breadcrumb'
  .row
    .col-md-1.page-menu
      = render 'page_header'
    .col-md-11
      = render 'display'
      = render 'subtree'
      = render 'attachments'
  .row
    .col-md-12{style: "text-align: right;"}
      %hr
      = link_to "Delete Page", wiki_page_path(@page), class: 'delete-link', data: {confirm: "Really?", description: "This will also delete all child pages and attachments.", method: :delete}

  :javascript
    $(function() {
      var page_view = new Tawork.Views.PageView({ el: $("#page_#{@page.id}").get(0)});
    });

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tawork-0.0.50 app/views/wiki/pages/show.html.haml
tawork-0.0.49 app/views/wiki/pages/show.html.haml
tawork-0.0.48 app/views/wiki/pages/show.html.haml
tawork-0.0.47 app/views/wiki/pages/show.html.haml
tawork-0.0.46 app/views/wiki/pages/show.html.haml
tawork-0.0.45 app/views/wiki/pages/show.html.haml