added in rails code to generate the form that had prev been in html. Now the submit button has to actually submit the data. Check back on prev commits for more todos.