diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/blog/posts/_form.html.erb (renamed from app/views/admin/blog_posts/_form.html.erb) | 0 | ||||
-rw-r--r-- | app/views/admin/blog/posts/_post.html.erb (renamed from app/views/admin/blog_posts/_blog_post.html.erb) | 10 | ||||
-rw-r--r-- | app/views/admin/blog/posts/_sortable_list.html.erb (renamed from app/views/admin/blog_posts/_sortable_list.html.erb) | 2 | ||||
-rw-r--r-- | app/views/admin/blog/posts/edit.html.erb (renamed from app/views/admin/blog_posts/edit.html.erb) | 0 | ||||
-rw-r--r-- | app/views/admin/blog/posts/index.html.erb (renamed from app/views/admin/blog_posts/index.html.erb) | 0 | ||||
-rw-r--r-- | app/views/admin/blog/posts/new.html.erb (renamed from app/views/admin/blog_posts/new.html.erb) | 0 |
6 files changed, 6 insertions, 6 deletions
diff --git a/app/views/admin/blog_posts/_form.html.erb b/app/views/admin/blog/posts/_form.html.erb index 5d9f347..5d9f347 100644 --- a/app/views/admin/blog_posts/_form.html.erb +++ b/app/views/admin/blog/posts/_form.html.erb diff --git a/app/views/admin/blog_posts/_blog_post.html.erb b/app/views/admin/blog/posts/_post.html.erb index b56a050..3e15543 100644 --- a/app/views/admin/blog_posts/_blog_post.html.erb +++ b/app/views/admin/blog/posts/_post.html.erb @@ -1,15 +1,15 @@ -<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(blog_post) -%>"> +<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(post) -%>"> <span class='title'> - <%=h blog_post.title %> + <%=h post.title %> <span class="preview"> </span> </span> <span class='actions'> - <%= link_to refinery_icon_tag("application_go.png"), blog_post_url(blog_post), + <%= link_to refinery_icon_tag("application_go.png"), blog_post_url(post), :title => t('.view_live'), :target => "_blank" %> - <%= link_to refinery_icon_tag("application_edit.png"), edit_admin_blog_post_path(blog_post), + <%= link_to refinery_icon_tag("application_edit.png"), edit_admin_blog_post_path(post), :title => t('.edit') %> - <%= link_to refinery_icon_tag("delete.png"), admin_blog_post_path(blog_post), + <%= link_to refinery_icon_tag("delete.png"), admin_blog_post_path(post), :class => "cancel confirm-delete", :title => t('.delete') %> </span> diff --git a/app/views/admin/blog_posts/_sortable_list.html.erb b/app/views/admin/blog/posts/_sortable_list.html.erb index 3529b23..7ae0ad3 100644 --- a/app/views/admin/blog_posts/_sortable_list.html.erb +++ b/app/views/admin/blog/posts/_sortable_list.html.erb @@ -1,5 +1,5 @@ <ul id='sortable_list'> - <%= render :partial => 'blog_post', :collection => @blog_posts %> + <%= render :partial => 'post', :collection => @blog_posts %> </ul> <%= render :partial => "/shared/admin/sortable_list", :locals => { diff --git a/app/views/admin/blog_posts/edit.html.erb b/app/views/admin/blog/posts/edit.html.erb index 2872e82..2872e82 100644 --- a/app/views/admin/blog_posts/edit.html.erb +++ b/app/views/admin/blog/posts/edit.html.erb diff --git a/app/views/admin/blog_posts/index.html.erb b/app/views/admin/blog/posts/index.html.erb index 0bc14db..0bc14db 100644 --- a/app/views/admin/blog_posts/index.html.erb +++ b/app/views/admin/blog/posts/index.html.erb diff --git a/app/views/admin/blog_posts/new.html.erb b/app/views/admin/blog/posts/new.html.erb index 2872e82..2872e82 100644 --- a/app/views/admin/blog_posts/new.html.erb +++ b/app/views/admin/blog/posts/new.html.erb |