{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/mms_7/pulls/comments/32092368","id":32092368,"diff_hunk":"@@ -0,0 +1,28 @@\n+<% provide(:title, 'Edit course') %>\n+<h1>Edit course</h1>\n+\n+<div class=\"row\">\n+  <div class=\"col-md-6 col-md-offset-3\">\n+    <%= form_for([:admin, @user]) do |f| %>\n+      <p>\n+        <%= f.label :name %><br />\n+        <%= f.text_field :name %>\n+      </p>\n+      <p>\n+        <%= f.label :birthday %><br />\n+        <%= f.datetime_field :birthday %>\n+      </p>\n+      <p>\n+        <%= f.label :email %><br />\n+        <%= f.text_field :email %>\n+      </p>      \n+      <p>\n+        <%= f.label :language %><br />\n+        <%= f.select :language ,[['English','en'],['Japan','jp']] %>","path":"app/views/admin/users/edit.html.erb","position":21,"original_position":21,"commit_id":"af01eec5365ecb6cc01f87ed677a9af4c9ada64d","original_commit_id":"af01eec5365ecb6cc01f87ed677a9af4c9ada64d","user":{"login":"dieunb","id":2122175,"avatar_url":"https://avatars.githubusercontent.com/u/2122175?v=3","gravatar_id":"","url":"https://api.github.com/users/dieunb","html_url":"https://github.com/dieunb","followers_url":"https://api.github.com/users/dieunb/followers","following_url":"https://api.github.com/users/dieunb/following{/other_user}","gists_url":"https://api.github.com/users/dieunb/gists{/gist_id}","starred_url":"https://api.github.com/users/dieunb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieunb/subscriptions","organizations_url":"https://api.github.com/users/dieunb/orgs","repos_url":"https://api.github.com/users/dieunb/repos","events_url":"https://api.github.com/users/dieunb/events{/privacy}","received_events_url":"https://api.github.com/users/dieunb/received_events","type":"User","site_admin":false},"body":"lưu cái này vào Setting `[['English','en'],['Japan','jp']]`","created_at":"2015-06-10T06:56:45Z","updated_at":"2015-06-10T06:56:45Z","html_url":"https://github.com/framgia/mms_7/pull/10#discussion_r32092368","pull_request_url":"https://api.github.com/repos/framgia/mms_7/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/framgia/mms_7/pulls/comments/32092368"},"html":{"href":"https://github.com/framgia/mms_7/pull/10#discussion_r32092368"},"pull_request":{"href":"https://api.github.com/repos/framgia/mms_7/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/mms_7/pulls/10","id":37328966,"html_url":"https://github.com/framgia/mms_7/pull/10","diff_url":"https://github.com/framgia/mms_7/pull/10.diff","patch_url":"https://github.com/framgia/mms_7/pull/10.patch","issue_url":"https://api.github.com/repos/framgia/mms_7/issues/10","number":10,"state":"open","locked":false,"title":"admin edit user","user":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-10T06:51:35Z","updated_at":"2015-06-10T06:56:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4561581794daeca0041e6b79256dfb824b27d0bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/mms_7/pulls/10/commits","review_comments_url":"https://api.github.com/repos/framgia/mms_7/pulls/10/comments","review_comment_url":"https://api.github.com/repos/framgia/mms_7/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/mms_7/issues/10/comments","statuses_url":"https://api.github.com/repos/framgia/mms_7/statuses/af01eec5365ecb6cc01f87ed677a9af4c9ada64d","head":{"label":"minhld1709:admin_edit_users","ref":"admin_edit_users","sha":"af01eec5365ecb6cc01f87ed677a9af4c9ada64d","user":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"repo":{"id":36773320,"name":"mms_7","full_name":"minhld1709/mms_7","owner":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/minhld1709/mms_7","description":"Member Management Systeam (training)","fork":true,"url":"https://api.github.com/repos/minhld1709/mms_7","forks_url":"https://api.github.com/repos/minhld1709/mms_7/forks","keys_url":"https://api.github.com/repos/minhld1709/mms_7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minhld1709/mms_7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minhld1709/mms_7/teams","hooks_url":"https://api.github.com/repos/minhld1709/mms_7/hooks","issue_events_url":"https://api.github.com/repos/minhld1709/mms_7/issues/events{/number}","events_url":"https://api.github.com/repos/minhld1709/mms_7/events","assignees_url":"https://api.github.com/repos/minhld1709/mms_7/assignees{/user}","branches_url":"https://api.github.com/repos/minhld1709/mms_7/branches{/branch}","tags_url":"https://api.github.com/repos/minhld1709/mms_7/tags","blobs_url":"https://api.github.com/repos/minhld1709/mms_7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minhld1709/mms_7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minhld1709/mms_7/git/refs{/sha}","trees_url":"https://api.github.com/repos/minhld1709/mms_7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minhld1709/mms_7/statuses/{sha}","languages_url":"https://api.github.com/repos/minhld1709/mms_7/languages","stargazers_url":"https://api.github.com/repos/minhld1709/mms_7/stargazers","contributors_url":"https://api.github.com/repos/minhld1709/mms_7/contributors","subscribers_url":"https://api.github.com/repos/minhld1709/mms_7/subscribers","subscription_url":"https://api.github.com/repos/minhld1709/mms_7/subscription","commits_url":"https://api.github.com/repos/minhld1709/mms_7/commits{/sha}","git_commits_url":"https://api.github.com/repos/minhld1709/mms_7/git/commits{/sha}","comments_url":"https://api.github.com/repos/minhld1709/mms_7/comments{/number}","issue_comment_url":"https://api.github.com/repos/minhld1709/mms_7/issues/comments{/number}","contents_url":"https://api.github.com/repos/minhld1709/mms_7/contents/{+path}","compare_url":"https://api.github.com/repos/minhld1709/mms_7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minhld1709/mms_7/merges","archive_url":"https://api.github.com/repos/minhld1709/mms_7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minhld1709/mms_7/downloads","issues_url":"https://api.github.com/repos/minhld1709/mms_7/issues{/number}","pulls_url":"https://api.github.com/repos/minhld1709/mms_7/pulls{/number}","milestones_url":"https://api.github.com/repos/minhld1709/mms_7/milestones{/number}","notifications_url":"https://api.github.com/repos/minhld1709/mms_7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minhld1709/mms_7/labels{/name}","releases_url":"https://api.github.com/repos/minhld1709/mms_7/releases{/id}","created_at":"2015-06-03T01:53:03Z","updated_at":"2015-06-02T06:35:51Z","pushed_at":"2015-06-10T06:53:06Z","git_url":"git://github.com/minhld1709/mms_7.git","ssh_url":"git@github.com:minhld1709/mms_7.git","clone_url":"https://github.com/minhld1709/mms_7.git","svn_url":"https://github.com/minhld1709/mms_7","homepage":null,"size":138,"stargazers_count":0,"watchers_count":0,"language":null,"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":"framgia:develop","ref":"develop","sha":"9a235b6db660d45ed5c2a51e5f013d8c59e28c70","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":36713200,"name":"mms_7","full_name":"framgia/mms_7","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/mms_7","description":"Member Management Systeam (training)","fork":false,"url":"https://api.github.com/repos/framgia/mms_7","forks_url":"https://api.github.com/repos/framgia/mms_7/forks","keys_url":"https://api.github.com/repos/framgia/mms_7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/mms_7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/mms_7/teams","hooks_url":"https://api.github.com/repos/framgia/mms_7/hooks","issue_events_url":"https://api.github.com/repos/framgia/mms_7/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/mms_7/events","assignees_url":"https://api.github.com/repos/framgia/mms_7/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/mms_7/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/mms_7/tags","blobs_url":"https://api.github.com/repos/framgia/mms_7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/mms_7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/mms_7/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/mms_7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/mms_7/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/mms_7/languages","stargazers_url":"https://api.github.com/repos/framgia/mms_7/stargazers","contributors_url":"https://api.github.com/repos/framgia/mms_7/contributors","subscribers_url":"https://api.github.com/repos/framgia/mms_7/subscribers","subscription_url":"https://api.github.com/repos/framgia/mms_7/subscription","commits_url":"https://api.github.com/repos/framgia/mms_7/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/mms_7/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/mms_7/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/mms_7/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/mms_7/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/mms_7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/mms_7/merges","archive_url":"https://api.github.com/repos/framgia/mms_7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/mms_7/downloads","issues_url":"https://api.github.com/repos/framgia/mms_7/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/mms_7/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/mms_7/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/mms_7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/mms_7/labels{/name}","releases_url":"https://api.github.com/repos/framgia/mms_7/releases{/id}","created_at":"2015-06-02T06:35:51Z","updated_at":"2015-06-02T06:35:51Z","pushed_at":"2015-06-10T06:53:06Z","git_url":"git://github.com/framgia/mms_7.git","ssh_url":"git@github.com:framgia/mms_7.git","clone_url":"https://github.com/framgia/mms_7.git","svn_url":"https://github.com/framgia/mms_7","homepage":null,"size":581,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/mms_7/pulls/10"},"html":{"href":"https://github.com/framgia/mms_7/pull/10"},"issue":{"href":"https://api.github.com/repos/framgia/mms_7/issues/10"},"comments":{"href":"https://api.github.com/repos/framgia/mms_7/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/mms_7/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/mms_7/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/mms_7/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/mms_7/statuses/af01eec5365ecb6cc01f87ed677a9af4c9ada64d"}}}}