Sha256: a4716f037856354c4cf27860b67d8b020ea9b674b59bd5571980ea3e795a5ddb

Contents?: true

Size: 444 Bytes

Versions: 2

Compression:

Stored size: 444 Bytes

Contents

%h2 News

.filter
  = inline_filter_form_for(@filter)

.center-block
  = paginate @items
%br
%table.table.table-striped.table-bordered.table-hover
  %tr
    %th= link_to_sortable_column :id, '#'
    %th= link_to_sortable_column :created_at, 'Date'
    %th Title
    %th Commands

  - @items.each do |item|
    %tr
      %td= item.id
      %td= item.created_at
      %td= item.title
      %td
        =link_to "Edit", edit_admin_news_path(item)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
optimacms-0.4.3 spec/dummy/app/views/admin/news/index.html.haml
optimacms-0.4.2 spec/dummy/app/views/admin/news/index.html.haml