aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin/blog_posts/_sortable_list.html.erb
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2010-08-09 16:47:56 +1200
committerPhilip Arndt <parndt@gmail.com>2010-08-09 16:47:56 +1200
commit837ea01a34a7dddeefe8086b2c6fc28e9a14616c (patch)
tree26c3c55c9026518de8b0626001cc55116bc5c87e /app/views/admin/blog_posts/_sortable_list.html.erb
parent9a8b95e9aa71529d7b4173a3afce49b199a60615 (diff)
downloadrefinerycms-blog-837ea01a34a7dddeefe8086b2c6fc28e9a14616c.tar.gz
refinerycms-blog-837ea01a34a7dddeefe8086b2c6fc28e9a14616c.tar.bz2
refinerycms-blog-837ea01a34a7dddeefe8086b2c6fc28e9a14616c.zip
Initial commit - you can create, edit and delete a blog post and it respects the fact that it is draft or not.
Diffstat (limited to 'app/views/admin/blog_posts/_sortable_list.html.erb')
-rw-r--r--app/views/admin/blog_posts/_sortable_list.html.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/admin/blog_posts/_sortable_list.html.erb b/app/views/admin/blog_posts/_sortable_list.html.erb
new file mode 100644
index 0000000..3529b23
--- /dev/null
+++ b/app/views/admin/blog_posts/_sortable_list.html.erb
@@ -0,0 +1,7 @@
+<ul id='sortable_list'>
+ <%= render :partial => 'blog_post', :collection => @blog_posts %>
+</ul>
+<%= render :partial => "/shared/admin/sortable_list",
+ :locals => {
+ :continue_reordering => (defined?(continue_reordering) ? continue_reordering : true)
+ } %>