forked from jasder/taskover
plans page can create list and task
This commit is contained in:
parent
9362f75228
commit
883cfd6555
|
|
@ -10,6 +10,8 @@ class PlansController < ApplicationController
|
|||
# GET /plans/1
|
||||
# GET /plans/1.json
|
||||
def show
|
||||
@list = List.new
|
||||
@task = Task.new
|
||||
end
|
||||
|
||||
# GET /plans/new
|
||||
|
|
|
|||
|
|
@ -5,3 +5,8 @@
|
|||
= @plan.title
|
||||
%span.plan_description
|
||||
= @plan.description
|
||||
.row
|
||||
.col-md-3
|
||||
= render 'lists/form'
|
||||
.col-md-3
|
||||
= render 'tasks/form'
|
||||
Loading…
Reference in New Issue