<%%=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' %> |
<%% end %>