Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Place new task inside a .well div

  • Loading branch information...
commit 8566adfc9f00675974511c9f26b4e99bb7f3a7fd 1 parent 11440ed
@bgentry authored
Showing with 17 additions and 15 deletions.
  1. +17 −15 app/views/tasks/index.html.erb
View
32 app/views/tasks/index.html.erb
@@ -17,23 +17,25 @@
<br />
<%= form_for Task.new, :html => { :remote => true, :style => 'margin-bottom:0;' } do |f| %>
- <fieldset>
- <legend>New Task</legend>
- <div class="clearfix">
- <%= f.label :name, :class => 'large' %>
- <div class="input">
- <div class="input-append">
- <%= f.text_field :name, :class => "large", :id => 'new-task-text' %>
- <label class="add-on">
- <%= f.check_box :finished, :id => 'new-task-finished' %>
- </label>
+ <div class="well">
+ <fieldset>
+ <legend>New Task</legend>
+ <div class="clearfix">
+ <%= f.label :name, :class => 'large' %>
+ <div class="input">
+ <div class="input-append">
+ <%= f.text_field :name, :class => "large", :id => 'new-task-text' %>
+ <label class="add-on">
+ <%= f.check_box :finished, :id => 'new-task-finished' %>
+ </label>
+ </div>
</div>
</div>
- </div>
- <div class="actions">
- <%= f.submit :class => 'btn primary' %>
- </div>
- </fieldset>
+ <div class="actions">
+ <%= f.submit :class => 'btn primary' %>
+ </div>
+ </fieldset>
+ </div>
<% end %>
</div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.