Sha256: 2cd327f0c75becce9d043589c9c7053a9dc3094b90788219828a658677b68d73
Contents?: true
Size: 443 Bytes
Versions: 2
Compression:
Stored size: 443 Bytes
Contents
- publish = !@post.nil? ? @post : publish - if publish.published == true =link_to image_tag("santey_blog/icons/selected.png", :class=>"icon"), {:action=>"publish", :id=>publish.slug, :set=>"0"}, :remote => true, :class => "image", :title=>"Unpublish" - else =link_to image_tag("santey_blog/icons/unselected.png", :class=>"icon"), {:action=>"publish", :id=>publish.slug, :set=>"1"}, :remote => true, :class => "image", :title=>"Publish"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
santey_blog-0.2.1 | app/views/sb/admin/posts/_publish.html.haml |
santey_blog-0.2.0 | app/views/sb/admin/posts/_publish.html.haml |