Sha256: cbb80b14a1e4f07dbbe81fa62a8b8309b5a7fb291cc9722d21678ed4d0b535f0

Contents?: true

Size: 584 Bytes

Versions: 38

Compression:

Stored size: 584 Bytes

Contents

- if route
  .sitemap_item{:class => "sitemap_level_#{route.level}"}
    - if route.level > 0
      = orange[:sitemap].route_actions(packet, :model => route)
    %h4 #{route.link_text} <span>(#{route.full_path})</span>
    .linked_to
      %p 
        Blog titled "#{model.title}"
        %br 
        %a{:href => route_to(:blog_posts, 'create')} Add New Blog Post
    .actions
      = form_link('Delete', route_to(:sitemap, route.id, 'delete'), 'Are you sure you want to delete this?', {:method => 'delete'})
      %a{:href => route_to(:sitemap, route.id, 'edit')} Edit
    %br.clear

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
orange-more-0.7.2 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-more-0.7.1 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-more-0.6.5 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-more-0.6.4 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-more-0.6.3 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-more-0.6.2 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-more-0.6.0 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-more-0.5.8 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-more-0.5.7 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-0.5.5 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-0.5.4 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-0.5.3 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-0.5.2 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-0.5.1 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-0.4.0 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-0.3.9 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-0.3.8 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-0.3.7 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-0.3.6 lib/orange-more/blog/views/blog/sitemap_row.haml
orange-0.3.5 lib/orange-more/blog/views/blog/sitemap_row.haml