{"comment":{"url":"https://api.github.com/repos/BoTreeConsultingTeam/invoiceme/comments/11083595","html_url":"https://github.com/BoTreeConsultingTeam/invoiceme/commit/7cb17c5b96e9c08aa35f04e4872a0f48b5442211#commitcomment-11083595","id":11083595,"user":{"login":"AmitPatel-BoTreeConsulting","id":1289894,"avatar_url":"https://avatars.githubusercontent.com/u/1289894?v=3","gravatar_id":"","url":"https://api.github.com/users/AmitPatel-BoTreeConsulting","html_url":"https://github.com/AmitPatel-BoTreeConsulting","followers_url":"https://api.github.com/users/AmitPatel-BoTreeConsulting/followers","following_url":"https://api.github.com/users/AmitPatel-BoTreeConsulting/following{/other_user}","gists_url":"https://api.github.com/users/AmitPatel-BoTreeConsulting/gists{/gist_id}","starred_url":"https://api.github.com/users/AmitPatel-BoTreeConsulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmitPatel-BoTreeConsulting/subscriptions","organizations_url":"https://api.github.com/users/AmitPatel-BoTreeConsulting/orgs","repos_url":"https://api.github.com/users/AmitPatel-BoTreeConsulting/repos","events_url":"https://api.github.com/users/AmitPatel-BoTreeConsulting/events{/privacy}","received_events_url":"https://api.github.com/users/AmitPatel-BoTreeConsulting/received_events","type":"User","site_admin":false},"position":32,"line":3,"path":"app/views/user/edit.html.haml","commit_id":"7cb17c5b96e9c08aa35f04e4872a0f48b5442211","created_at":"2015-05-07T10:11:06Z","updated_at":"2015-05-07T10:11:06Z","body":"What is the purpose of html: { method: :post, onsubmit: \"document.getElementById('submit_button').disabled = 1;\" }\r\n\r\nAlso form_for can be moved to form partial. Do same from edit.html.haml as well"}}