plans page can create list and task

This commit is contained in:
Kesin 2015-10-04 20:28:24 +08:00
parent 9362f75228
commit 883cfd6555
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -5,3 +5,8 @@
= @plan.title
%span.plan_description
= @plan.description
.row
.col-md-3
= render 'lists/form'
.col-md-3
= render 'tasks/form'