{"action":"created","comment":{"url":"https://api.github.com/repos/Gjum/circuit/pulls/comments/31284319","id":31284319,"diff_hunk":"@@ -19,40 +19,66 @@\n                        name=\"username\"\n                        class=\"form-control floating-label {% if 'username' in form.errors %} has-error{% endif %}\"\n                        placeholder=\"Username\"\n-                       value=\"{{ user.username}}\"\n+                       value=\"{{ user.username }}\"\n                        required>\n \n                 <br/>\n                 <input type=\"text\"\n                        name=\"name\"\n                        class=\"form-control floating-label {% if 'name' in form.errors %} has-error{% endif %}\"\n-                       value=\"{{ user.name}}\"\n+                       value=\"{{ user.name }}\"\n                        placeholder=\"Long name\">\n \n                 <br/>\n                 <textarea\n-                       name=\"description\"\n-                       class=\"form-control floating-label {% if 'description' in form.errors %} has-error{% endif %}\"\n-                       rows=\"3\"\n-                       placeholder=\"Description\">{{ user.description | escape }}</textarea>\n+                        name=\"description\"\n+                        class=\"form-control floating-label {% if 'description' in form.errors %} has-error{% endif %}\"\n+                        rows=\"3\"\n+                        placeholder=\"Description\">{{ user.description | escape }}</textarea>\n \n                 <br/>\n                 <input type=\"email\"\n                        name=\"email\"\n                        class=\"form-control floating-label {% if 'email' in form.errors %} has-error{% endif %}\"\n                        placeholder=\"E-Mail\"\n-                       value=\"{{ user.email}}\"\n+                       value=\"{{ user.email }}\"\n                        required>\n \n                 <button class=\"btn btn-raised btn-material-light-blue\" type=\"submit\">Save</button>\n+            </form>\n+\n+            <br/><br/><br/>\n+\n+            <h3>Change your password</h3>\n+\n+            <form action=\"\" method=\"post\">\n+                <br/>\n+                <input type=\"password\"\n+                       name=\"name\"\n+                       class=\"form-control floating-label {% if 'name' in form.errors %} has-error{% endif %}\"\n+                       placeholder=\"Current password\">\n \n                 <br/>\n-                <a href=\"#\">Change your password</a>\n+                <input type=\"password\"\n+                       name=\"name\"\n+                       class=\"form-control floating-label {% if 'name' in form.errors %} has-error{% endif %}\"\n+                       placeholder=\"New password\">\n \n                 <br/>\n-                <a href=\"#\">Delete your profile</a>\n+                <input type=\"password\"\n+                       name=\"name\"\n+                       class=\"form-control floating-label {% if 'name' in form.errors %} has-error{% endif %}\"\n+                       placeholder=\"New password confirmation\">\n+\n+                <button class=\"btn btn-raised btn-material-light-blue\" type=\"submit\">Save</button>\n             </form>\n \n+            <br/><br/><br/>\n+\n+            <h3>Delete your account</h3>\n+            <br/>\n+            <a class=\"btn btn-block btn-raised btn-danger\" href=\"#delete\">Delete your profile</a>","path":"users/templates/users/user_edit.html","position":71,"original_position":71,"commit_id":"af8abef7bd91999eb3474e89d1fff016f4140697","original_commit_id":"af8abef7bd91999eb3474e89d1fff016f4140697","user":{"login":"Gjum","id":2612164,"avatar_url":"https://avatars.githubusercontent.com/u/2612164?v=3","gravatar_id":"","url":"https://api.github.com/users/Gjum","html_url":"https://github.com/Gjum","followers_url":"https://api.github.com/users/Gjum/followers","following_url":"https://api.github.com/users/Gjum/following{/other_user}","gists_url":"https://api.github.com/users/Gjum/gists{/gist_id}","starred_url":"https://api.github.com/users/Gjum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gjum/subscriptions","organizations_url":"https://api.github.com/users/Gjum/orgs","repos_url":"https://api.github.com/users/Gjum/repos","events_url":"https://api.github.com/users/Gjum/events{/privacy}","received_events_url":"https://api.github.com/users/Gjum/received_events","type":"User","site_admin":false},"body":"Do I delete my account or my profile?","created_at":"2015-05-28T22:27:30Z","updated_at":"2015-05-28T22:27:30Z","html_url":"https://github.com/Gjum/circuit/pull/1#discussion_r31284319","pull_request_url":"https://api.github.com/repos/Gjum/circuit/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Gjum/circuit/pulls/comments/31284319"},"html":{"href":"https://github.com/Gjum/circuit/pull/1#discussion_r31284319"},"pull_request":{"href":"https://api.github.com/repos/Gjum/circuit/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Gjum/circuit/pulls/1","id":36457397,"html_url":"https://github.com/Gjum/circuit/pull/1","diff_url":"https://github.com/Gjum/circuit/pull/1.diff","patch_url":"https://github.com/Gjum/circuit/pull/1.patch","issue_url":"https://api.github.com/repos/Gjum/circuit/issues/1","number":1,"state":"open","locked":false,"title":"Formatting, improved forms and icon button for edit","user":{"login":"MetalMatze","id":872251,"avatar_url":"https://avatars.githubusercontent.com/u/872251?v=3","gravatar_id":"","url":"https://api.github.com/users/MetalMatze","html_url":"https://github.com/MetalMatze","followers_url":"https://api.github.com/users/MetalMatze/followers","following_url":"https://api.github.com/users/MetalMatze/following{/other_user}","gists_url":"https://api.github.com/users/MetalMatze/gists{/gist_id}","starred_url":"https://api.github.com/users/MetalMatze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MetalMatze/subscriptions","organizations_url":"https://api.github.com/users/MetalMatze/orgs","repos_url":"https://api.github.com/users/MetalMatze/repos","events_url":"https://api.github.com/users/MetalMatze/events{/privacy}","received_events_url":"https://api.github.com/users/MetalMatze/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-28T22:24:49Z","updated_at":"2015-05-28T22:27:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21eef2d1065c9ba1182587b1f746638a22e55c65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Gjum/circuit/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Gjum/circuit/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Gjum/circuit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Gjum/circuit/issues/1/comments","statuses_url":"https://api.github.com/repos/Gjum/circuit/statuses/af8abef7bd91999eb3474e89d1fff016f4140697","head":{"label":"MetalMatze:feature/user-edit","ref":"feature/user-edit","sha":"af8abef7bd91999eb3474e89d1fff016f4140697","user":{"login":"MetalMatze","id":872251,"avatar_url":"https://avatars.githubusercontent.com/u/872251?v=3","gravatar_id":"","url":"https://api.github.com/users/MetalMatze","html_url":"https://github.com/MetalMatze","followers_url":"https://api.github.com/users/MetalMatze/followers","following_url":"https://api.github.com/users/MetalMatze/following{/other_user}","gists_url":"https://api.github.com/users/MetalMatze/gists{/gist_id}","starred_url":"https://api.github.com/users/MetalMatze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MetalMatze/subscriptions","organizations_url":"https://api.github.com/users/MetalMatze/orgs","repos_url":"https://api.github.com/users/MetalMatze/repos","events_url":"https://api.github.com/users/MetalMatze/events{/privacy}","received_events_url":"https://api.github.com/users/MetalMatze/received_events","type":"User","site_admin":false},"repo":{"id":35885516,"name":"circuit","full_name":"MetalMatze/circuit","owner":{"login":"MetalMatze","id":872251,"avatar_url":"https://avatars.githubusercontent.com/u/872251?v=3","gravatar_id":"","url":"https://api.github.com/users/MetalMatze","html_url":"https://github.com/MetalMatze","followers_url":"https://api.github.com/users/MetalMatze/followers","following_url":"https://api.github.com/users/MetalMatze/following{/other_user}","gists_url":"https://api.github.com/users/MetalMatze/gists{/gist_id}","starred_url":"https://api.github.com/users/MetalMatze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MetalMatze/subscriptions","organizations_url":"https://api.github.com/users/MetalMatze/orgs","repos_url":"https://api.github.com/users/MetalMatze/repos","events_url":"https://api.github.com/users/MetalMatze/events{/privacy}","received_events_url":"https://api.github.com/users/MetalMatze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MetalMatze/circuit","description":"Social network project","fork":true,"url":"https://api.github.com/repos/MetalMatze/circuit","forks_url":"https://api.github.com/repos/MetalMatze/circuit/forks","keys_url":"https://api.github.com/repos/MetalMatze/circuit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MetalMatze/circuit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MetalMatze/circuit/teams","hooks_url":"https://api.github.com/repos/MetalMatze/circuit/hooks","issue_events_url":"https://api.github.com/repos/MetalMatze/circuit/issues/events{/number}","events_url":"https://api.github.com/repos/MetalMatze/circuit/events","assignees_url":"https://api.github.com/repos/MetalMatze/circuit/assignees{/user}","branches_url":"https://api.github.com/repos/MetalMatze/circuit/branches{/branch}","tags_url":"https://api.github.com/repos/MetalMatze/circuit/tags","blobs_url":"https://api.github.com/repos/MetalMatze/circuit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MetalMatze/circuit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MetalMatze/circuit/git/refs{/sha}","trees_url":"https://api.github.com/repos/MetalMatze/circuit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MetalMatze/circuit/statuses/{sha}","languages_url":"https://api.github.com/repos/MetalMatze/circuit/languages","stargazers_url":"https://api.github.com/repos/MetalMatze/circuit/stargazers","contributors_url":"https://api.github.com/repos/MetalMatze/circuit/contributors","subscribers_url":"https://api.github.com/repos/MetalMatze/circuit/subscribers","subscription_url":"https://api.github.com/repos/MetalMatze/circuit/subscription","commits_url":"https://api.github.com/repos/MetalMatze/circuit/commits{/sha}","git_commits_url":"https://api.github.com/repos/MetalMatze/circuit/git/commits{/sha}","comments_url":"https://api.github.com/repos/MetalMatze/circuit/comments{/number}","issue_comment_url":"https://api.github.com/repos/MetalMatze/circuit/issues/comments{/number}","contents_url":"https://api.github.com/repos/MetalMatze/circuit/contents/{+path}","compare_url":"https://api.github.com/repos/MetalMatze/circuit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MetalMatze/circuit/merges","archive_url":"https://api.github.com/repos/MetalMatze/circuit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MetalMatze/circuit/downloads","issues_url":"https://api.github.com/repos/MetalMatze/circuit/issues{/number}","pulls_url":"https://api.github.com/repos/MetalMatze/circuit/pulls{/number}","milestones_url":"https://api.github.com/repos/MetalMatze/circuit/milestones{/number}","notifications_url":"https://api.github.com/repos/MetalMatze/circuit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MetalMatze/circuit/labels{/name}","releases_url":"https://api.github.com/repos/MetalMatze/circuit/releases{/id}","created_at":"2015-05-19T13:59:13Z","updated_at":"2015-05-20T16:36:28Z","pushed_at":"2015-05-28T22:23:37Z","git_url":"git://github.com/MetalMatze/circuit.git","ssh_url":"git@github.com:MetalMatze/circuit.git","clone_url":"https://github.com/MetalMatze/circuit.git","svn_url":"https://github.com/MetalMatze/circuit","homepage":"","size":186,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Gjum:feature/user-edit","ref":"feature/user-edit","sha":"b539ecb0c05bf55fd6822ec4b1ac3f72769a39b7","user":{"login":"Gjum","id":2612164,"avatar_url":"https://avatars.githubusercontent.com/u/2612164?v=3","gravatar_id":"","url":"https://api.github.com/users/Gjum","html_url":"https://github.com/Gjum","followers_url":"https://api.github.com/users/Gjum/followers","following_url":"https://api.github.com/users/Gjum/following{/other_user}","gists_url":"https://api.github.com/users/Gjum/gists{/gist_id}","starred_url":"https://api.github.com/users/Gjum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gjum/subscriptions","organizations_url":"https://api.github.com/users/Gjum/orgs","repos_url":"https://api.github.com/users/Gjum/repos","events_url":"https://api.github.com/users/Gjum/events{/privacy}","received_events_url":"https://api.github.com/users/Gjum/received_events","type":"User","site_admin":false},"repo":{"id":35891825,"name":"circuit","full_name":"Gjum/circuit","owner":{"login":"Gjum","id":2612164,"avatar_url":"https://avatars.githubusercontent.com/u/2612164?v=3","gravatar_id":"","url":"https://api.github.com/users/Gjum","html_url":"https://github.com/Gjum","followers_url":"https://api.github.com/users/Gjum/followers","following_url":"https://api.github.com/users/Gjum/following{/other_user}","gists_url":"https://api.github.com/users/Gjum/gists{/gist_id}","starred_url":"https://api.github.com/users/Gjum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gjum/subscriptions","organizations_url":"https://api.github.com/users/Gjum/orgs","repos_url":"https://api.github.com/users/Gjum/repos","events_url":"https://api.github.com/users/Gjum/events{/privacy}","received_events_url":"https://api.github.com/users/Gjum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gjum/circuit","description":"Social network project","fork":true,"url":"https://api.github.com/repos/Gjum/circuit","forks_url":"https://api.github.com/repos/Gjum/circuit/forks","keys_url":"https://api.github.com/repos/Gjum/circuit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gjum/circuit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gjum/circuit/teams","hooks_url":"https://api.github.com/repos/Gjum/circuit/hooks","issue_events_url":"https://api.github.com/repos/Gjum/circuit/issues/events{/number}","events_url":"https://api.github.com/repos/Gjum/circuit/events","assignees_url":"https://api.github.com/repos/Gjum/circuit/assignees{/user}","branches_url":"https://api.github.com/repos/Gjum/circuit/branches{/branch}","tags_url":"https://api.github.com/repos/Gjum/circuit/tags","blobs_url":"https://api.github.com/repos/Gjum/circuit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gjum/circuit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gjum/circuit/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gjum/circuit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gjum/circuit/statuses/{sha}","languages_url":"https://api.github.com/repos/Gjum/circuit/languages","stargazers_url":"https://api.github.com/repos/Gjum/circuit/stargazers","contributors_url":"https://api.github.com/repos/Gjum/circuit/contributors","subscribers_url":"https://api.github.com/repos/Gjum/circuit/subscribers","subscription_url":"https://api.github.com/repos/Gjum/circuit/subscription","commits_url":"https://api.github.com/repos/Gjum/circuit/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gjum/circuit/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gjum/circuit/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gjum/circuit/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gjum/circuit/contents/{+path}","compare_url":"https://api.github.com/repos/Gjum/circuit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gjum/circuit/merges","archive_url":"https://api.github.com/repos/Gjum/circuit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gjum/circuit/downloads","issues_url":"https://api.github.com/repos/Gjum/circuit/issues{/number}","pulls_url":"https://api.github.com/repos/Gjum/circuit/pulls{/number}","milestones_url":"https://api.github.com/repos/Gjum/circuit/milestones{/number}","notifications_url":"https://api.github.com/repos/Gjum/circuit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gjum/circuit/labels{/name}","releases_url":"https://api.github.com/repos/Gjum/circuit/releases{/id}","created_at":"2015-05-19T15:43:35Z","updated_at":"2015-05-19T15:43:35Z","pushed_at":"2015-05-28T22:24:49Z","git_url":"git://github.com/Gjum/circuit.git","ssh_url":"git@github.com:Gjum/circuit.git","clone_url":"https://github.com/Gjum/circuit.git","svn_url":"https://github.com/Gjum/circuit","homepage":"","size":88,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Gjum/circuit/pulls/1"},"html":{"href":"https://github.com/Gjum/circuit/pull/1"},"issue":{"href":"https://api.github.com/repos/Gjum/circuit/issues/1"},"comments":{"href":"https://api.github.com/repos/Gjum/circuit/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Gjum/circuit/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Gjum/circuit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Gjum/circuit/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Gjum/circuit/statuses/af8abef7bd91999eb3474e89d1fff016f4140697"}}}}