From f33d667bcb66e3b6328128b4da2a27a6ead3ca53 Mon Sep 17 00:00:00 2001 From: Marek Labos Date: Sat, 25 Aug 2012 03:56:38 +0200 Subject: using form advanced opt. menu snippet from refinery core --- app/views/refinery/blog/admin/posts/_form.html.erb | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'app') diff --git a/app/views/refinery/blog/admin/posts/_form.html.erb b/app/views/refinery/blog/admin/posts/_form.html.erb index 9e91133..4aac811 100644 --- a/app/views/refinery/blog/admin/posts/_form.html.erb +++ b/app/views/refinery/blog/admin/posts/_form.html.erb @@ -11,13 +11,6 @@ <%= f.text_field :title, :class => 'larger widest' -%> -
-

- <%= f.check_box :draft %> - <%= f.label :draft, t('.save_as_draft'), :class => "stripped" %> -

-
-
    @@ -47,18 +40,13 @@
+ <%= render '/refinery/admin/form_advanced_options_menu', :f => f %> +
<%= f.label :tag_list, t('refinery.blog.shared.tags.title') -%> <%= f.text_field :tag_list, :class => 'larger' -%>
-
-

- <%= link_to t('.advanced_options'), "#", - :id => 'toggle_advanced_options', - :title => t('.toggle_advanced_options') %> -

-