diff options
Diffstat (limited to 'app/views/admin')
23 files changed, 0 insertions, 564 deletions
diff --git a/app/views/admin/blog/_submenu.html.erb b/app/views/admin/blog/_submenu.html.erb deleted file mode 100644 index 25f437b..0000000 --- a/app/views/admin/blog/_submenu.html.erb +++ /dev/null @@ -1,96 +0,0 @@ -<nav id='actions' class='multilist'> - <ul class='search_list'> - <li class='not_a_link'> - <%= render :partial => "/shared/admin/search", - :locals => { - :url => admin_blog_posts_url - } %> - </li> - </ul> - - <ul class='collapsible_menu'> - <li class='not_a_link'> - <%= link_to t('.posts.title'), '#', - :class => 'page_copy_icon' %> - </li> - <li> - <%= link_to t('.posts.manage'), admin_blog_posts_path, - :class => 'page_icon' %> - </li> - <li> - <%= link_to t('.posts.uncategorized'), uncategorized_admin_blog_posts_url, - :class => 'page_icon' %> - </li> - <li> - <%= link_to t('.posts.new'), new_admin_blog_post_url, - :class => 'page_add_icon' %> - </li> - </ul> - <% if BlogPost.comments_allowed? %> - <ul class='collapsible_menu'> - <li class='not_a_link'> - <% if BlogComment.unmoderated.any? %> - <% title = t('.comments.title_with_count', :new_count => BlogComment.unmoderated.size) %> - <% else %> - <% title = t('.comments.title') %> - <% end %> - <%= link_to title, '#', - :class => 'comments_icon' %> - </li> - <li> - <%= link_to t('.comments.new'), admin_blog_comments_path, - :class => 'comment_icon' %> - </li> - <li> - <%= link_to t('.comments.approved'), approved_admin_blog_comments_path, - :class => 'comment_tick_icon' %> - </li> - <li> - <%= link_to t('.comments.rejected'), rejected_admin_blog_comments_path, - :class => 'comment_cross_icon' %> - </li> - </ul> - <% end %> - - <ul class='collapsible_menu'> - <li class='not_a_link'> - <%= link_to t('.categories.title'), '#', - :class => 'folder_icon' %> - </li> - <li> - <%= link_to t('.categories.manage'), admin_blog_categories_url, - :class => 'folder_edit_icon' %> - </li> - <li> - <%= link_to t('.categories.new'), new_admin_blog_category_url(:dialog => true, :height => 325), - :class => 'folder_add_icon' %> - </li> - </ul> - - <ul class='collapsible_menu'> - <li class='not_a_link'> - <%= link_to t('.settings.title'), admin_blog_settings_path, - :class => 'settings_icon' %> - </li> - <li> - <%= link_to t('.settings.comments'), comments_admin_blog_settings_url, - :class => "#{BlogPost.comments_allowed? ? 'success' : 'failure'}_icon" %> - </li> - <li> - <%= link_to t('.settings.moderation'), moderation_admin_blog_settings_url, - :class => "#{BlogComment::Moderation.enabled? ? 'success' : 'failure'}_icon" %> - </li> - <li> - <%= link_to t('.settings.update_notified'), - notification_recipients_admin_blog_settings_url(:dialog => true, :height => 400), - :class => 'user_comment_icon' %> - </li> - <li> - <%= link_to t('.settings.teasers'), - teasers_admin_blog_settings_url, :class => "#{BlogPost.teasers_enabled? ? 'success' : 'failure'}_icon" %> - </li> - </ul> - -</nav> - -<% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog')%> diff --git a/app/views/admin/blog/categories/_category.html.erb b/app/views/admin/blog/categories/_category.html.erb deleted file mode 100644 index 191f649..0000000 --- a/app/views/admin/blog/categories/_category.html.erb +++ /dev/null @@ -1,16 +0,0 @@ -<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(category) -%>"> - <span class='title'> - <%= category.title %> - <span class="preview"> </span> - </span> - <span class='actions'> - <%= link_to refinery_icon_tag("application_edit.png"), - edit_admin_blog_category_path(category, :dialog => true, :height => 325), - :title => t('.edit') %> - <%= link_to refinery_icon_tag("delete.png"), admin_blog_category_path(category), - :class => "cancel confirm-delete", - :title => t('.delete'), - :method => :delete, - :confirm => t('message', :scope => 'shared.admin.delete', :title => category.title) %> - </span> -</li> diff --git a/app/views/admin/blog/categories/_form.html.erb b/app/views/admin/blog/categories/_form.html.erb deleted file mode 100644 index bfcbc7b..0000000 --- a/app/views/admin/blog/categories/_form.html.erb +++ /dev/null @@ -1,19 +0,0 @@ -<%= form_for [:admin, @blog_category] do |f| -%> - <%= render :partial => "/shared/admin/error_messages", - :locals => { - :object => f.object, - :include_object_name => true - } %> - - <div class='field'> - <%= f.label :title -%> - <%= f.text_field :title, :class => 'larger widest' -%> - </div> - - <%= render :partial => "/shared/admin/form_actions", - :locals => { - :f => f, - :continue_editing => false, - :delete_title => t('delete', :scope => 'admin.blog.categories.category') - } %> -<% end %> diff --git a/app/views/admin/blog/categories/_sortable_list.html.erb b/app/views/admin/blog/categories/_sortable_list.html.erb deleted file mode 100644 index df6a39b..0000000 --- a/app/views/admin/blog/categories/_sortable_list.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -<ul id='sortable_list'> - <%= render :partial => 'category', :collection => @blog_categories %> -</ul> -<%= render :partial => "/shared/admin/sortable_list", - :locals => { - :continue_reordering => (defined?(continue_reordering) ? continue_reordering : true) - } %> diff --git a/app/views/admin/blog/categories/edit.html.erb b/app/views/admin/blog/categories/edit.html.erb deleted file mode 100644 index 2872e82..0000000 --- a/app/views/admin/blog/categories/edit.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :partial => "form" %> diff --git a/app/views/admin/blog/categories/index.html.erb b/app/views/admin/blog/categories/index.html.erb deleted file mode 100644 index 5d17d42..0000000 --- a/app/views/admin/blog/categories/index.html.erb +++ /dev/null @@ -1,26 +0,0 @@ -<%= render :partial => '/admin/blog/submenu' %> -<div id='records'> - <% if searching? %> - <h2><%= t('results_for', :scope => 'shared.admin.search', :query => params[:search]) %></h2> - <% if @blog_categories.any? %> - <%= render :partial => "blog_categories", - :collection => @blog_categories %> - <% else %> - <p><%= t('search_no_results', :scope => 'admin') %></p> - <% end %> - <% else %> - <% if @blog_categories.any? %> - <%= will_paginate @blog_categories %> - - <%= render :partial => "sortable_list" %> - - <%= will_paginate @blog_categories %> - <% else %> - <p> - <strong> - <%= t('.no_items_yet', :create => t('new', :scope => 'admin.blog.submenu.categories')) %> - </strong> - </p> - <% end %> - <% end %> -</div> diff --git a/app/views/admin/blog/categories/new.html.erb b/app/views/admin/blog/categories/new.html.erb deleted file mode 100644 index 2872e82..0000000 --- a/app/views/admin/blog/categories/new.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :partial => "form" %> diff --git a/app/views/admin/blog/comments/_comment.html.erb b/app/views/admin/blog/comments/_comment.html.erb deleted file mode 100644 index 547b9e4..0000000 --- a/app/views/admin/blog/comments/_comment.html.erb +++ /dev/null @@ -1,20 +0,0 @@ -<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= "comment-#{comment.to_param}" -%>"> - <span class='title'> - <%= comment.name %> - <span class="preview"> - <%= truncate(comment.message, :length => 75) %></span> - </span> - <span class='actions'> - <%= link_to refinery_icon_tag("application_go.png"), - blog_post_url(comment.post, :anchor => "comment-#{comment.to_param}"), - :title => t('.view_live_html'), - :target => "_blank" unless comment.unmoderated? %> - <%= link_to refinery_icon_tag('zoom.png'), admin_blog_comment_path(comment), - :title => t('.read') %> - <%= link_to refinery_icon_tag("cross.png"), - rejected_admin_blog_comment_path(comment, :return_to => request.path.split('/').last.gsub(/^comments$/, 'index')), - :title => t('.reject') unless comment.rejected? %> - <%= link_to refinery_icon_tag("tick.png"), - approved_admin_blog_comment_path(comment, :return_to => request.path.split('/').last.gsub(/^comments$/, 'index')), - :title => t('.approve') unless comment.approved? %> - </span> -</li> diff --git a/app/views/admin/blog/comments/_sortable_list.html.erb b/app/views/admin/blog/comments/_sortable_list.html.erb deleted file mode 100644 index e141dee..0000000 --- a/app/views/admin/blog/comments/_sortable_list.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -<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) - } %> diff --git a/app/views/admin/blog/comments/index.html.erb b/app/views/admin/blog/comments/index.html.erb deleted file mode 100644 index aaec4ae..0000000 --- a/app/views/admin/blog/comments/index.html.erb +++ /dev/null @@ -1,35 +0,0 @@ -<%= render :partial => '/admin/blog/submenu' %> -<div id='records'> - <% if searching? %> - <h2><%= t('results_for', :scope => 'shared.admin.search', :query => params[:search]) %></h2> - <% if @blog_comments.any? %> - <%=# will_paginate @blog_comments - %> - - <ul> - <%= render :partial => "blog_comments", - :collection => @blog_comments %> - </ul> - - <%=# will_paginate @blog_comments - %> - <% else %> - <p><%= t('search_no_results', :scope => 'admin') %></p> - <% end %> - <% else %> - <% if @blog_comments.any? %> - <%=# will_paginate @blog_comments - %> - - <%= render :partial => "sortable_list" %> - - <%=# will_paginate @blog_comments - %> - <% else %> - <h3> - <%= t('.no_items_yet', - :type => t(action_name.gsub('index', 'new'), :scope => 'admin.blog.submenu.comments').downcase) %> - </h3> - <% end %> - <% end %> -</div> diff --git a/app/views/admin/blog/comments/show.html.erb b/app/views/admin/blog/comments/show.html.erb deleted file mode 100644 index d4c2186..0000000 --- a/app/views/admin/blog/comments/show.html.erb +++ /dev/null @@ -1,63 +0,0 @@ -<div id='actions'> - <h2><%= t('.details')%></h2> - <p> - <strong><%= t('.age') %>:</strong> <%= time_ago_in_words(@blog_comment.created_at) %> - </p> - <h2><%= t('.actions') %></h2> - <ul> - <li> - <%= link_to t('.back'), {:action => 'index'}, :class => "back_icon" %> - </li> - <li> - <%= link_to t('.reject'), rejected_admin_blog_comment_path(@blog_comment, :return_to => 'rejected'), - :class => 'comment_cross_icon' unless @blog_comment.rejected? %> - </li> - <li> - <%= link_to t('.approve'), approved_admin_blog_comment_path(@blog_comment, :return_to => 'approved'), - :class => 'comment_tick_icon' unless @blog_comment.approved? %> - </li> - </ul> -</div> -<div id='records'> - <h2><%= t('.comment') %></h2> - <table id='inquiry'> - <tr> - <td> - <strong><%= t('.blog_post') %></strong> - </td> - <td> - <%= link_to @blog_comment.post.title, - blog_post_url(@blog_comment.post, :anchor => "comment-#{@blog_comment.to_param}"), - :target => '_blank' %> - </td> - </tr> - <tr> - <td> - <strong><%= t('.from') %></strong> - </td> - <td> - <%= @blog_comment.name %> [<%= mail_to @blog_comment.email, @blog_comment.email, {:title => t('.click_to_email')} %>] - </td> - </tr> - <tr> - <td> - <strong><%= t('.date') %></strong> - </td> - <td> - <%= l(Date.parse(@blog_comment.created_at.to_s), :format => :long) %> - </td> - </tr> - <tr> - <td valign='top'> - <strong><%= t('.message') %></strong> - </td> - <td> - <p style='margin-top: 0px'> - <%= @blog_comment.message.gsub("\r\n\r\n", "\r\n").gsub("\r\n", "</p><p>") %> - </p> - </td> - </tr> - </table> -</div> - -<% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog') %> diff --git a/app/views/admin/blog/posts/_form.css.erb b/app/views/admin/blog/posts/_form.css.erb deleted file mode 100644 index 869ab9b..0000000 --- a/app/views/admin/blog/posts/_form.css.erb +++ /dev/null @@ -1,20 +0,0 @@ -<style type='text/css'> - ul.blog_categories{ - height:200px; - overflow:auto; - border:1px solid #ccc; - padding:5px; - } - ul.blog_categories, ul.blog_categories li { - list-style: none; - margin:5px 0; - } - a#copy_body_link { - background: url("/images/refinery/icons/add.png") no-repeat scroll 0 6px transparent; - border-bottom: 0 none; - display: inline; - line-height: 29px; - margin-top: 0; - padding-left: 20px; - } -</style> diff --git a/app/views/admin/blog/posts/_form.html.erb b/app/views/admin/blog/posts/_form.html.erb deleted file mode 100644 index c891b63..0000000 --- a/app/views/admin/blog/posts/_form.html.erb +++ /dev/null @@ -1,108 +0,0 @@ -<%= form_for [:admin, @blog_post] do |f| -%> - <%= render :partial => "/shared/admin/error_messages", - :locals => { - :object => f.object, - :include_object_name => true - } %> - - <div class='field'> - <%= f.label :title -%> - <%= f.text_field :title, :class => 'larger widest' -%> - </div> - - <div class='field'> - <div id='page-tabs' class='clearfix ui-tabs ui-widget ui-widget-content ui-corner-all'> - <ul id='page_parts'> - <li class='ui-state-default ui-state-active'> - <%= link_to t('body', :scope => 'activerecord.attributes.blog_post'), "#page_part_body" %> - </li> - <li class='ui-state-default'> - <%= link_to t('teaser', :scope => 'activerecord.attributes.blog_post'), "#page_part_teaser" %> - </li> - <% Refinery::Blog.tabs.each_with_index do |tab, tab_index| %> - <li class='ui-state-default' id="custom_<%= tab.name %>_tab"> - <%= link_to tab.name.titleize, "#custom_tab_#{tab_index}" %> - </li> - <% end %> - </ul> - - <div id='page_part_editors'> - - <% part_index = -1 %> - <%= render :partial => 'form_part', - :locals => { - :f => f, - :part_index => (part_index += 1), - } -%> - <%= render :partial => 'teaser_part', - :locals => { - :f => f, - :part_index => (part_index += 1), - } if f.object.respond_to?(:custom_teaser) -%> - <% Refinery::Blog.tabs.each_with_index do |tab, tab_index| %> - <div class='page_part' id='<%= "custom_tab_#{tab_index}" %>'> - <%= render :partial => tab.partial, :locals => {:f => f} %> - </div> - <% end %> - </div> - </div> - </div> - - <div class='field'> - <%= f.label :tag_list, t('blog.shared.tags.title') -%> - <%= f.text_field :tag_list, :class => 'larger' -%> - </div> - - <div id='more_options_field'> - <p> - <%= link_to t('.advanced_options'), "#", - :id => 'toggle_advanced_options', - :title => t('.toggle_advanced_options') %> - </p> - <span id='draft_field'> - <%= f.check_box :draft %> - <%= f.label :draft, t('.save_as_draft'), :class => "stripped" %> - </span> - </div> - <div id='more_options' style="display:none;"> - <div class="hemisquare"> - <h3><%= t('title', :scope => 'admin.blog.submenu.categories') %></h3> - <ul class='blog_categories'> - <% @blog_categories.each do |category| %> - <li> - <%= check_box_tag 'blog_post[category_ids][]', category.id, - @blog_post.categories.include?(category), - :id => (id="blog_post_category_ids_#{category.id}") %> - <%= label_tag 'blog_post[category_ids][]', category.title, - :class => 'stripped', - :for => id %> - </li> - <% end %> - </ul> - <h3><%= t('.published_at') %></h3> - <%= f.datetime_select :published_at %> - - <div class='field'> - <span class='label_with_help'> - <%= f.label :custom_url, t('.custom_url') %> - <%= refinery_help_tag t('.custom_url_help') %> - </span> - <%= f.text_field :custom_url, :class => "widest" %> - </div> - - </div> - <div class='hemisquare right_side'> - <%= render :partial => '/seo_meta/form', :locals => {:form => f} %> - </div> - </div> - <%= render :partial => "/shared/admin/form_actions", - :locals => { - :f => f, - :continue_editing => true, - :delete_title => t('delete', :scope => 'admin.blog.posts.post') - } %> -<% end -%> - -<% content_for :stylesheets, render(:partial => 'form.css') -%> -<% content_for :javascripts, render(:partial => 'form.js') -%> -<%= render 'shared/admin/autocomplete', :dom_id => '#blog_post_tag_list', :url => tags_admin_blog_posts_url %> diff --git a/app/views/admin/blog/posts/_form.js.erb b/app/views/admin/blog/posts/_form.js.erb deleted file mode 100644 index 87ad23f..0000000 --- a/app/views/admin/blog/posts/_form.js.erb +++ /dev/null @@ -1,23 +0,0 @@ -<script> - (function($) { - $(function() { - $('#page-tabs').tabs(); - $('#copy_body_link').click(function(event) { - // Find the WYMEditor that maps to the custom_teaser field - var teaserTextArea = $('#blog_post_custom_teaser')[0]; - var teaserEditor = null; - $.each(WYMeditor.INSTANCES, function(index, editor) { - if (editor._element[0] == teaserTextArea) { - teaserEditor = editor; - } - }); - - if (teaserEditor) { - teaserEditor.html($('#blog_post_body').attr('value')); - } - - event.preventDefault(); - }); - }); - })(jQuery); -</script> diff --git a/app/views/admin/blog/posts/_form_part.html.erb b/app/views/admin/blog/posts/_form_part.html.erb deleted file mode 100644 index 114e493..0000000 --- a/app/views/admin/blog/posts/_form_part.html.erb +++ /dev/null @@ -1,3 +0,0 @@ -<div class='page_part' id='page_part_body'> - <%= f.text_area :body, :rows => 20, :class => 'wymeditor widest' -%> -</div> diff --git a/app/views/admin/blog/posts/_post.html.erb b/app/views/admin/blog/posts/_post.html.erb deleted file mode 100644 index a7f09e0..0000000 --- a/app/views/admin/blog/posts/_post.html.erb +++ /dev/null @@ -1,21 +0,0 @@ -<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(post) -%>"> - <span class='title'> - <%= post.title %> - <span class="preview"> - <%= post.published_at.try(:strftime, '%b %d, %Y') || 'draft' %> - <%= " by #{post.author.username}" if post.author.present? %> - </span> - </span> - <span class='actions'> - <%= link_to refinery_icon_tag("application_go.png"), blog_post_url(post), - :title => t('.view_live_html'), - :target => "_blank" %> - <%= 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(post), - :class => "cancel confirm-delete", - :title => t('.delete'), - :method => :delete, - :confirm => t('message', :scope => 'shared.admin.delete', :title => post.title) %> - </span> -</li> diff --git a/app/views/admin/blog/posts/_sortable_list.html.erb b/app/views/admin/blog/posts/_sortable_list.html.erb deleted file mode 100644 index 7ae0ad3..0000000 --- a/app/views/admin/blog/posts/_sortable_list.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -<ul id='sortable_list'> - <%= render :partial => 'post', :collection => @blog_posts %> -</ul> -<%= render :partial => "/shared/admin/sortable_list", - :locals => { - :continue_reordering => (defined?(continue_reordering) ? continue_reordering : true) - } %> diff --git a/app/views/admin/blog/posts/_teaser_part.html.erb b/app/views/admin/blog/posts/_teaser_part.html.erb deleted file mode 100644 index 71d7d01..0000000 --- a/app/views/admin/blog/posts/_teaser_part.html.erb +++ /dev/null @@ -1,11 +0,0 @@ -<div class='page_part' id='page_part_teaser'> - <%= f.text_area :custom_teaser, :rows => 20, :class => 'wymeditor widest' -%> - <p> - <span class='clearfix label_inline_with_link'> - <%= link_to t('copy_body', :scope => 'admin.blog.posts.form'), "#", - :id => 'copy_body_link', - :title => t('copy_body_help', :scope => 'admin.blog.posts.form') %> - </span> - </p> -</div> - diff --git a/app/views/admin/blog/posts/edit.html.erb b/app/views/admin/blog/posts/edit.html.erb deleted file mode 100644 index 2872e82..0000000 --- a/app/views/admin/blog/posts/edit.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :partial => "form" %> diff --git a/app/views/admin/blog/posts/index.html.erb b/app/views/admin/blog/posts/index.html.erb deleted file mode 100644 index 90a6a6e..0000000 --- a/app/views/admin/blog/posts/index.html.erb +++ /dev/null @@ -1,28 +0,0 @@ -<%= render :partial => '/admin/blog/submenu' %> -<div id='records'> - <% if searching? %> - <h2><%= t('results_for', :scope => 'shared.admin.search', :query => params[:search]) %></h2> - <% if @blog_posts.any? %> - <ul> - <%= render :partial => "post", - :collection => @blog_posts %> - </ul> - <% else %> - <p><%= t('no_results', :scope => 'shared.admin.search') %></p> - <% end %> - <% else %> - <% if @blog_posts.any? %> - <%= will_paginate @blog_posts %> - - <%= render :partial => "sortable_list" %> - - <%= will_paginate @blog_posts %> - <% else %> - <p> - <strong> - <%= t('.no_items_yet', :create => t('new', :scope => 'admin.blog.submenu.posts')) %> - </strong> - </p> - <% end %> - <% end %> -</div> diff --git a/app/views/admin/blog/posts/new.html.erb b/app/views/admin/blog/posts/new.html.erb deleted file mode 100644 index 2872e82..0000000 --- a/app/views/admin/blog/posts/new.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :partial => "form" %> diff --git a/app/views/admin/blog/posts/uncategorized.html.erb b/app/views/admin/blog/posts/uncategorized.html.erb deleted file mode 100644 index 19d9e20..0000000 --- a/app/views/admin/blog/posts/uncategorized.html.erb +++ /dev/null @@ -1,26 +0,0 @@ -<%= render :partial => '/admin/blog/submenu' %> -<div id='records'> - <% if searching? %> - <h2><%= t('results_for', :scope => 'shared.admin.search', :query => params[:search]) %></h2> - <% if @blog_posts.any? %> - <%= render :partial => "blog_posts", - :collection => @blog_posts %> - <% else %> - <p><%= t('search_no_results', :scope => 'admin') %></p> - <% end %> - <% else %> - <% if @blog_posts.any? %> - <%= will_paginate @blog_posts %> - - <%= render :partial => "sortable_list" %> - - <%= will_paginate @blog_posts %> - <% else %> - <p> - <strong> - <%= t('.no_items_yet', :create => t('new', :scope => 'admin.blog.submenu.posts')) %> - </strong> - </p> - <% end %> - <% end %> -</div> diff --git a/app/views/admin/blog/settings/notification_recipients.html.erb b/app/views/admin/blog/settings/notification_recipients.html.erb deleted file mode 100644 index 41e7f2d..0000000 --- a/app/views/admin/blog/settings/notification_recipients.html.erb +++ /dev/null @@ -1,24 +0,0 @@ -<%= form_tag do %> - - <div class='field'> - <span class='label_with_help'> - <%= label_tag :recipients, t('.value') %> - </span> - <%= text_field_tag :recipients, @recipients, :class => "larger widest" %> - </div> - - <p> - <%= t('.hint') %> - </p> - <p> - <%= t('.example') %> - </p> - - <%= render :partial => "/shared/admin/form_actions", - :locals => { - :f => nil, - :continue_editing => false, - :cancel_url => admin_blog_posts_url, - :hide_delete => true - } %> -<% end %> |