Sha256: cfa864052ed4844d8a4390f6c84d035aba93e6cbdd320d77abf29a4a7674e48b

Contents?: true

Size: 606 Bytes

Versions: 7

Compression:

Stored size: 606 Bytes

Contents

.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

7 entries across 7 versions & 1 rubygems

Version Path
tawork-0.0.31 app/views/wiki/pages/show.html.haml
tawork-0.0.30 app/views/wiki/pages/show.html.haml
tawork-0.0.29 app/views/wiki/pages/show.html.haml
tawork-0.0.28 app/views/wiki/pages/show.html.haml
tawork-0.0.27 app/views/wiki/pages/show.html.haml
tawork-0.0.26 app/views/wiki/pages/show.html.haml
tawork-0.0.25 app/views/wiki/pages/show.html.haml