This is the crossplatform form app. Ruby on Rails code