lib/blogelator/admin/post.rb in blogelator-1.0.5 vs lib/blogelator/admin/post.rb in blogelator-1.0.6
- old
+ new
@@ -80,9 +80,16 @@
a href: post.url, target: "_blank" do
post.url
end
end
row :published_at
+ row :image do
+ if post.image.exists?
+ img src: post.image.url(:small)
+ else
+ "No Image"
+ end
+ end
row :created_at
row :updated_at
row :tags do
post.tags.each do |tag|
a href: admin_tag_path(tag) do