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