Sha256: b6496e158895d5b68a3f266cfb7c8435bfbe7853b672f159f84a384c2549e567

Contents?: true

Size: 892 Bytes

Versions: 21

Compression:

Stored size: 892 Bytes

Contents

- title_bar "Articles", [{"title"=>"New Article", "url"=>new_category_article_path(params[:category_id])}]

%div#active_admin_content.without_sidebar
  - main_content "Article List" do
    - index_table ["Title", "Status", "Publish", "Updated", "Created", "", "", ""] do
      - @articles.each_with_index do |article, i|
        %tr{:class=>cycle( "odd", "even") }
          %td= article.title
          %td= article.status
          %td= article.publish_from
          %td= article.updated_at.strftime("%b %e, %l:%M %p")
          %td= article.created_at.strftime("%b %e, %l:%M %p")
          %td= link_to 'Show', category_article_path(params[:category_id], article)
          %td= link_to 'Edit', edit_category_article_path(params[:category_id], article)
          %td= link_to 'Destroy', category_article_path(params[:category_id], article), :confirm => 'Are you sure?', :method => :delete

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ems-0.1.12 app/views/ems/articles/index.html.haml
ems-0.1.11 app/views/ems/articles/index.html.haml
ems-0.1.10 app/views/ems/articles/index.html.haml
ems-0.1.9 app/views/ems/articles/index.html.haml
ems-0.1.8 app/views/ems/articles/index.html.haml
ems-0.1.7 app/views/ems/articles/index.html.haml
ems-0.1.6 app/views/ems/articles/index.html.haml
ems-0.1.5 app/views/ems/articles/index.html.haml
ems-0.1.4 app/views/ems/articles/index.html.haml
ems-0.1.3 app/views/ems/articles/index.html.haml
ems-0.1.2 app/views/ems/articles/index.html.haml
ems-0.1.1 app/views/ems/articles/index.html.haml
ems-0.1.0 app/views/ems/articles/index.html.haml
ems-0.0.9 app/views/ems/articles/index.html.haml
ems-0.0.8 app/views/ems/articles/index.html.haml
ems-0.0.7 app/views/ems/articles/index.html.haml
ems-0.0.6 app/views/ems/articles/index.html.haml
ems-0.0.5 app/views/ems/articles/index.html.haml
ems-0.0.4 app/views/ems/articles/index.html.haml
ems-0.0.3 app/views/ems/articles/index.html.haml