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 ++-------------- config/locales/bg.yml | 2 -- config/locales/cs.yml | 2 -- config/locales/de.yml | 2 -- config/locales/en.yml | 2 -- config/locales/es.yml | 2 -- config/locales/fr.yml | 2 -- config/locales/it.yml | 2 -- config/locales/ja.yml | 2 -- config/locales/nl.yml | 2 -- config/locales/pl.yml | 2 -- config/locales/pt-BR.yml | 2 -- config/locales/ru.yml | 2 -- config/locales/sk.yml | 2 -- config/locales/sv.yml | 2 -- config/locales/zh-CN.yml | 2 -- 16 files changed, 2 insertions(+), 44 deletions(-) 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') %> -

-