Listing <%= plural_name %>

<%%= sortable_table_header :name => "Title", :sort => "title" %> <%%= sortable_table_header :name => "Updated", :sort => "updated_at" %> <%%= sortable_table_header :name => "Published At", :sort => "published_at" %> <%%= sortable_table_header :name => "Published To", :sort => "published_to" %> <%% @<%= plural_name %>.each do |<%= singular_name %>| %> <%% end %> <%%= sortable_table_header :name => "Title", :sort => "title" %> <%%= sortable_table_header :name => "Updated", :sort => "updated_at" %> <%%= sortable_table_header :name => "Published At", :sort => "published_at" %> <%%= sortable_table_header :name => "Published To", :sort => "published_to" %>
Status AuthorActions
<%%=h <%= singular_name %>.title %> <%%= content_status(<%= singular_name %>) %> <%%= <%= singular_name %>.author %> <%%= <%= singular_name %>.updated_at.strftime('%d %b') %> <%%= <%= singular_name %>.published_at.strftime('%d %b') unless <%= singular_name %>.published_at.nil? %> <%%= <%= singular_name %>.published_to.strftime('%d %b') unless <%= singular_name %>.published_to.nil? %> <%%= link_to 'Show', <%= singular_name %>_path(<%= singular_name %>.permalink), :class => 'show' %> <%%= link_to 'Edit', admin_<%= singular_name %>_path(<%= singular_name %>), :class => 'edit' %> <%%= link_to 'Destroy', admin_<%= singular_name %>_path(<%= singular_name %>), :confirm => 'Are you sure?', :method => :delete, :class => 'delete' %>
Status AuthorActions