aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMarek Labos <keraml@gmail.com>2012-08-25 03:56:38 +0200
committerMarek Labos <keraml@gmail.com>2012-08-25 03:56:38 +0200
commitf33d667bcb66e3b6328128b4da2a27a6ead3ca53 (patch)
treed9a2d57c255d3a7e9ff7cc87008ebe989e8855e4 /app
parent06fe63e5f02dc98c0573d497cad145538db97bf2 (diff)
downloadrefinerycms-blog-f33d667bcb66e3b6328128b4da2a27a6ead3ca53.tar.gz
refinerycms-blog-f33d667bcb66e3b6328128b4da2a27a6ead3ca53.tar.bz2
refinerycms-blog-f33d667bcb66e3b6328128b4da2a27a6ead3ca53.zip
using form advanced opt. menu snippet from refinery core
Diffstat (limited to 'app')
-rw-r--r--app/views/refinery/blog/admin/posts/_form.html.erb16
1 files changed, 2 insertions, 14 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' -%>
</div>
- <div class="field">
- <p>
- <%= f.check_box :draft %>
- <%= f.label :draft, t('.save_as_draft'), :class => "stripped" %>
- </p>
- </div>
-
<div class='field'>
<div id='page-tabs' class='clearfix ui-tabs ui-widget ui-widget-content ui-corner-all'>
<ul id='page_parts'>
@@ -47,18 +40,13 @@
</div>
</div>
+ <%= render '/refinery/admin/form_advanced_options_menu', :f => f %>
+
<div class='field'>
<%= f.label :tag_list, t('refinery.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>
- </div>
<div id='more_options' style="display:none;">
<div class="hemisquare">
<h3><%= t('title', :scope => 'refinery.blog.admin.submenu.categories') %></h3>