mirror of https://github.com/fspc/BikeShed-1.git
Jason Denney
11 years ago
3 changed files with 17 additions and 0 deletions
@ -0,0 +1,5 @@ |
|||||
|
class TaskListsController < AuthenticatedController |
||||
|
def edit |
||||
|
@task_list = TaskList.find_by_id(params[:id]) |
||||
|
end |
||||
|
end |
@ -0,0 +1,10 @@ |
|||||
|
%h2 Task List |
||||
|
%h3 #{@task_list.item.shop_id} #{@task_list.item.bike_brand} |
||||
|
%h4 #{@task_list.item.model} |
||||
|
|
||||
|
%p |
||||
|
.control-group |
||||
|
- @task_list.tasks.each do |task| |
||||
|
.controls |
||||
|
%input{class: "task_list_task", type: "checkbox", "data-id" => task.id} |
||||
|
#{task.task} |
Loading…
Reference in new issue