aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin/blog/comments/_sortable_list.html.erb
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2010-08-30 11:14:46 +1200
committerPhilip Arndt <parndt@gmail.com>2010-08-30 11:14:46 +1200
commit4d1e364085c0de27d3ca58cc90eba9036744fc79 (patch)
tree2e0282206a95fc6fb91ec8aea38843543e886c85 /app/views/admin/blog/comments/_sortable_list.html.erb
parent21dca99ddf7eadb929bc9fe40a6b3f9fd90b2f41 (diff)
downloadrefinerycms-blog-4d1e364085c0de27d3ca58cc90eba9036744fc79.tar.gz
refinerycms-blog-4d1e364085c0de27d3ca58cc90eba9036744fc79.tar.bz2
refinerycms-blog-4d1e364085c0de27d3ca58cc90eba9036744fc79.zip
Comments are now moderated automatically unless moderation is enabled and show up below posts.
Diffstat (limited to 'app/views/admin/blog/comments/_sortable_list.html.erb')
-rw-r--r--app/views/admin/blog/comments/_sortable_list.html.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/admin/blog/comments/_sortable_list.html.erb b/app/views/admin/blog/comments/_sortable_list.html.erb
new file mode 100644
index 0000000..e141dee
--- /dev/null
+++ b/app/views/admin/blog/comments/_sortable_list.html.erb
@@ -0,0 +1,7 @@
+<ul id='sortable_list'>
+ <%= render :partial => 'comment', :collection => @blog_comments %>
+</ul>
+<%= render :partial => "/shared/admin/sortable_list",
+ :locals => {
+ :continue_reordering => (defined?(continue_reordering) ? continue_reordering : true)
+ } %>