bmun/huxley — pull request #225 by tdowds (2014-06-24 06:38:54+00:00)
Title: #217 sends request to api with correct fields.

This ensure that the fields get connected with the appropriate models in the api and that a new user and school are created upon registering. I edited the radio selects to interact appropriately but those still need to be adjusted so that the correct value is sent back to the server when selecting a different button that isn't default. Added a few more state variables and corresponding fields for the ajax request in order to help link up appropriately with the api and for the radio selects to be interactive. To send the ajax request, we used JSON.stringify so that the data could be read and utilized appropriately when the request was received.