diff --git a/app/controllers/plans_controller.rb b/app/controllers/plans_controller.rb index c471382..60f1645 100644 --- a/app/controllers/plans_controller.rb +++ b/app/controllers/plans_controller.rb @@ -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 diff --git a/app/views/plans/show.html.haml b/app/views/plans/show.html.haml index af8761c..f798549 100644 --- a/app/views/plans/show.html.haml +++ b/app/views/plans/show.html.haml @@ -5,3 +5,8 @@ = @plan.title %span.plan_description = @plan.description + .row + .col-md-3 + = render 'lists/form' + .col-md-3 + = render 'tasks/form' \ No newline at end of file