Adding api task_lists#show and spec, edit.haml updates

This commit is contained in:
Jason Denney
2014-03-09 19:20:00 -04:00
parent 656f0f12e4
commit 3b904f95f2
6 changed files with 66 additions and 8 deletions
+4 -1
View File
@@ -6,5 +6,8 @@
.control-group
- @task_list.tasks.each do |task|
.controls
%input{class: "task_list_task", type: "checkbox", "data-id" => task.id}
%input{class: "task_list_task", type: "checkbox", "data-id" => task.id, checked: task.done}
#{task.task}
.control-group
.controls
%input{id: "update_tasks_submit", value: "Save Changes", type: "button", class: "btn btn-lg btn-block btn-primary disabled", "data-url" => "#{api_update_task_path}"}