Sha256: 50347eecb750b9fe9e0c461c40bc3fe6113794d37306def843c03524493a3c6c

Contents?: true

Size: 365 Bytes

Versions: 7

Compression:

Stored size: 365 Bytes

Contents

%h2= @page_title

- if @datatable.nil?
  %p Please install #{link_to 'effective_datatables', 'https://github.com/code-and-effect/effective_datatables'} to view this page
- elsif @datatable.collection.length == 0
  %p There are no posts
- else
  = render_datatable @datatable

%p= link_to 'New Post', effective_posts.new_admin_post_path, :class => 'btn btn-primary'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
effective_posts-0.2.3 app/views/admin/posts/index.html.haml
effective_posts-0.2.2 app/views/admin/posts/index.html.haml
effective_posts-0.2.1 app/views/admin/posts/index.html.haml
effective_posts-0.2.0 app/views/admin/posts/index.html.haml
effective_posts-0.1.2 app/views/admin/posts/index.html.haml
effective_posts-0.1.1 app/views/admin/posts/index.html.haml
effective_posts-0.1 app/views/admin/posts/index.html.haml