Sha256: 53ec0fd7221da3bfbfba2d87faab65fb7af89dd87b13777654b0d5f42861fa18

Contents?: true

Size: 1007 Bytes

Versions: 3

Compression:

Stored size: 1007 Bytes

Contents

<!--
  @Name: admin/blog/posts/_post.html.erb
  @Use:  This is a partial for showing post records
  @Created date: 08-06-2012
  @Modified Date: 12-06-2012
  @Company:  Mindfire Solutions
-->

<div class="alert issues-comment">
	<div class="body">
		<span class="mini-icon mini-icon-issue-comment"></span>
  		<span class='title'>
    		<%= post.title %>
    		<span class="preview"><%= post.published_at.try(:strftime, '%b %d, %Y') || 'draft' %></span>
  		</span>
  		<span class='actions'>
    
    		<%= link_to image_tag("icons/application_edit.png"), edit_admin_blog_post_path(post),
         	:title => 'Edit' %>
    		<%= link_to image_tag("icons/delete.png"), admin_blog_post_path(post),
        	:class => "cancel confirm-delete",
        	:title => 'Delete',
        	:method => :delete,
        	:confirm => "Are you sure to delete ?" %>
    		<%= link_to image_tag("icons/application_go.png"), blog_post_path(post),
        	:title => 'Show', :target => "_blank" %>
  		</span>
  	</div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mcms_blog-1.0.0 app/views/admin/blog/posts/_post.html.erb
mcms_blog-0.0.4 app/views/admin/blog/posts/_post.html.erb
mcms_blog-0.0.3 app/views/admin/blog/posts/_post.html.erb