added method blocks and controller input
Update view.rb
Merge pull request #2 from ksin/danielle_kai

added method blocks and controller input