Sha256: b81aa00f1d60bc01d9531cf3dd89841f40cd6594adc255aa571a2461c789f098

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 Bytes

Contents

.posts_list.edit_list
  - @posts.each do |post|
    .item
      =link_to image_tag("icons/delete.png"), {:action=>"destroy", :id=>post.slug}, :method => :delete, :confirm => "Sure?"
      =link_to image_tag("icons/edit.png"), {:action=>"edit", :id=>post.slug}
      %div{:id=>"publish_#{post.id}", :style =>"float:right;"}
        =render :partial => "publish", :locals=>{:publish=>post}
      =link_to post.title, path_to_content(post)
      %br/

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
santey_blog-0.2.1 app/views/sb/admin/posts/index.html.haml
santey_blog-0.2.0 app/views/sb/admin/posts/index.html.haml