Permalink
Browse files

Move Draft checkbox under title for better usability

  • Loading branch information...
Nic Haynes
Nic Haynes committed Dec 8, 2011
1 parent 57619d6 commit 5c78c38e98acf0af8713d56ae65d905140e374be
Showing with 7 additions and 5 deletions.
  1. +7 −5 app/views/admin/blog/posts/_form.html.erb
@@ -9,7 +9,12 @@
<%= f.label :title -%>
<%= 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'>
@@ -59,10 +64,7 @@
: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">

0 comments on commit 5c78c38

Please sign in to comment.