Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 71b9f31224
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (40 sloc) 1.19 kb
<div class="container">
<div class="row">
<div class="span10 columns offset2">
<table id="task_list" class="zebra-striped">
<%= render @tasks %>
<br />
<%= form_for, :html => { :remote => true, :style => 'margin-bottom:0;' } do |f| %>
<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 %>
<div class="actions">
<%= f.submit :class => 'btn primary' %>
<% end %>
<script type="text/javascript">
$('.task_finished').live('change', function() {
Jump to Line
Something went wrong with that request. Please try again.