Sha256: 391b5fa6342d9718ee9bb943a70d4da6e184a1f6fc397ce4ece0e25d4b728184

Contents?: true

Size: 552 Bytes

Versions: 7

Compression:

Stored size: 552 Bytes

Contents

h1.tandem-title Listing contents

table
  tr
    th Page
    th Type
    th Token
    th Tag
    th Content
    th Bcontent
    th
    th
    th

  - @contents.each do |content|
    tr
      td= content.page_id
      td= content.type
      td= content.token
      td= content.tag
      td= content.content
      td= content.bcontent
      td= link_to 'Show', content
      td= link_to 'Edit', edit_content_path(content)
      td= link_to 'Delete', content, :confirm => 'Are you sure?', :method => :delete

br

= link_to 'New Content', new_content_path

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tandem-0.2.5 app/views/tandem/contents/index.html.slim
tandem-0.2.4 app/views/tandem/contents/index.html.slim
tandem-0.2.3 app/views/tandem/contents/index.html.slim
tandem-0.2.2 app/views/tandem/contents/index.html.slim
tandem-0.2.1 app/views/tandem/contents/index.html.slim
tandem-0.2.0 app/views/tandem/contents/index.html.slim
tandem-0.2.0.rc app/views/tandem/contents/index.html.slim