diff options
Diffstat (limited to 'app/views/refinery/blog/posts/show.html.erb')
-rw-r--r-- | app/views/refinery/blog/posts/show.html.erb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app/views/refinery/blog/posts/show.html.erb b/app/views/refinery/blog/posts/show.html.erb index cc763a8..bdd149f 100644 --- a/app/views/refinery/blog/posts/show.html.erb +++ b/app/views/refinery/blog/posts/show.html.erb @@ -3,14 +3,14 @@ <%= render 'post' %> </div> - <% if BlogPost.comments_allowed? %> + <% if Refinery::BlogPost.comments_allowed? %> <aside id="comments"> <h2><%= t('.comments.title') %></h2> <% if (comments = @blog_post.comments.approved).any? %> <%= render :partial => "comment", :collection => comments %> <% else %> <p> - <%= t('none', :scope => 'blog.shared.comments') %>. + <%= t('none', :scope => 'refinery.blog.shared.comments') %>. </p> <% end %> @@ -21,8 +21,8 @@ <% end %> <h2><%= t('.comments.add') %></h2> - <%= form_for [:blog_post, @blog_comment] do |f| %> - <%= render :partial => "/shared/admin/error_messages", + <%= form_for [main_app, :blog_post, @blog_comment] do |f| %> + <%= render :partial => "/refinery/admin/error_messages", :locals => { :object => f.object, :include_object_name => true @@ -48,14 +48,14 @@ <% end %> <% content_for :body_content_right do %> - <%= render :partial => "/blog/shared/categories" %> - <%= render :partial => "/blog/shared/tags" %> - <%= render :partial => "/blog/shared/posts" %> - <%= render :partial => "/blog/shared/rss_feed" %> + <%= render :partial => "/refinery/blog/shared/categories" %> + <%= render :partial => "/refinery/blog/shared/tags" %> + <%= render :partial => "/refinery/blog/shared/posts" %> + <%= render :partial => "/refinery/blog/shared/rss_feed" %> <%= blog_archive_list %> <% end %> -<%= render :partial => "/shared/content_page", :locals => { :remove_automatic_sections => true } %> +<%= render :partial => "/refinery/content_page", :locals => { :remove_automatic_sections => true } %> <% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %> <% content_for :before_javascript_libraries, jquery_include_tags(:jquery_ui => false) %> @@ -64,4 +64,4 @@ <%#= javascript_include_tag('refinerycms-blog') %> <script src="http://w.sharethis.com/button/buttons.js"></script> <script>stLight.options({publisher:'<%= BlogPost::ShareThis.key %>'});</script> -<% end if BlogPost::ShareThis.enabled? %> +<% end if Refinery::BlogPost::ShareThis.enabled? %> |