diff options
author | Philip Arndt <parndt@gmail.com> | 2010-08-28 18:15:53 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-08-28 18:15:53 +1200 |
commit | 21dca99ddf7eadb929bc9fe40a6b3f9fd90b2f41 (patch) | |
tree | 920043fe637f02bde2ca7a41b9c714e6fd7633f1 /app/views/admin/blog | |
parent | e6fead06dcc6c27e47df83533b53256beabc21a5 (diff) | |
download | refinerycms-blog-21dca99ddf7eadb929bc9fe40a6b3f9fd90b2f41.tar.gz refinerycms-blog-21dca99ddf7eadb929bc9fe40a6b3f9fd90b2f41.tar.bz2 refinerycms-blog-21dca99ddf7eadb929bc9fe40a6b3f9fd90b2f41.zip |
wrote rails engine for later, added ability to add comments and see ones already posted.
Diffstat (limited to 'app/views/admin/blog')
-rw-r--r-- | app/views/admin/blog/comments/index.html.erb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app/views/admin/blog/comments/index.html.erb b/app/views/admin/blog/comments/index.html.erb index c5e911b..940ba47 100644 --- a/app/views/admin/blog/comments/index.html.erb +++ b/app/views/admin/blog/comments/index.html.erb @@ -3,24 +3,28 @@ <% if searching? %> <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> <% if @blog_comments.any? %> - <%= will_paginate @blog_comments %> + <%=# will_paginate @blog_comments + %> <ul> <%= render :partial => "blog_comments", :collection => @blog_comments %> </ul> - <%= will_paginate @blog_comments %> + <%=# will_paginate @blog_comments + %> <% else %> <p><%= t('admin.search_no_results') %></p> <% end %> <% else %> <% if @blog_comments.any? %> - <%= will_paginate @blog_comments %> + <%=# will_paginate @blog_comments + %> <%= render :partial => "sortable_list" %> - <%= will_paginate @blog_comments %> + <%=# will_paginate @blog_comments + %> <% else %> <h3> <%= t('.no_items_yet', |