Sha256: 2c01355b6ffb9d0ed5a942deb0fb67d7a63fb0e091fd8cdfa5d4ea26ad14d6cd

Contents?: true

Size: 626 Bytes

Versions: 12

Compression:

Stored size: 626 Bytes

Contents

- title @page.title
.page{id: "page_#{@page.id}", data: {page_id: @page.id}}
  = render 'breadcrumb'
  .row
    .col-md-1
      = 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

12 entries across 12 versions & 1 rubygems

Version Path
tawork-0.0.44 app/views/wiki/pages/show.html.haml
tawork-0.0.43 app/views/wiki/pages/show.html.haml
tawork-0.0.42 app/views/wiki/pages/show.html.haml
tawork-0.0.41 app/views/wiki/pages/show.html.haml
tawork-0.0.40 app/views/wiki/pages/show.html.haml
tawork-0.0.39 app/views/wiki/pages/show.html.haml
tawork-0.0.38 app/views/wiki/pages/show.html.haml
tawork-0.0.37 app/views/wiki/pages/show.html.haml
tawork-0.0.36 app/views/wiki/pages/show.html.haml
tawork-0.0.35 app/views/wiki/pages/show.html.haml
tawork-0.0.34 app/views/wiki/pages/show.html.haml
tawork-0.0.33 app/views/wiki/pages/show.html.haml