{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fts_50/pulls/comments/51373308","id":51373308,"diff_hunk":"@@ -0,0 +1,42 @@\n+<% provide :title, t(\".title\") %>\n+<div class=\"container\">\n+  <div class=\"row\">\n+    <%= form_for @exam do |f| %>\n+      <div class=\"col-md-4\">\n+        <%= f.collection_select :subject_id, @subjects, :id, :content, {},\n+          class: \"form-control\" %>\n+        <%= f.hidden_field :duration, value: 20 %>","path":"app/views/exams/index.html.erb","position":8,"original_position":8,"commit_id":"532cf43f423d360c79096dca9bdd2e401d884442","original_commit_id":"c9afe477712a4606afad09a3b35930af4a288a8e","user":{"login":"hienmv94","id":7650170,"avatar_url":"https://avatars.githubusercontent.com/u/7650170?v=3","gravatar_id":"","url":"https://api.github.com/users/hienmv94","html_url":"https://github.com/hienmv94","followers_url":"https://api.github.com/users/hienmv94/followers","following_url":"https://api.github.com/users/hienmv94/following{/other_user}","gists_url":"https://api.github.com/users/hienmv94/gists{/gist_id}","starred_url":"https://api.github.com/users/hienmv94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hienmv94/subscriptions","organizations_url":"https://api.github.com/users/hienmv94/orgs","repos_url":"https://api.github.com/users/hienmv94/repos","events_url":"https://api.github.com/users/hienmv94/events{/privacy}","received_events_url":"https://api.github.com/users/hienmv94/received_events","type":"User","site_admin":false},"body":"người dùng chỉ có quyền chọn subject để tạo exam nên em để là hidden.\r\nVà 1 exam cố định chỉ làm trong 20p, 30 câu hỏi.","created_at":"2016-02-01T02:01:05Z","updated_at":"2016-02-01T02:01:05Z","html_url":"https://github.com/framgia/fts_50/pull/10#discussion_r51373308","pull_request_url":"https://api.github.com/repos/framgia/fts_50/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_50/pulls/comments/51373308"},"html":{"href":"https://github.com/framgia/fts_50/pull/10#discussion_r51373308"},"pull_request":{"href":"https://api.github.com/repos/framgia/fts_50/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fts_50/pulls/10","id":57788340,"html_url":"https://github.com/framgia/fts_50/pull/10","diff_url":"https://github.com/framgia/fts_50/pull/10.diff","patch_url":"https://github.com/framgia/fts_50/pull/10.patch","issue_url":"https://api.github.com/repos/framgia/fts_50/issues/10","number":10,"state":"open","locked":false,"title":"refs #52848_create_exam","user":{"login":"hienmv94","id":7650170,"avatar_url":"https://avatars.githubusercontent.com/u/7650170?v=3","gravatar_id":"","url":"https://api.github.com/users/hienmv94","html_url":"https://github.com/hienmv94","followers_url":"https://api.github.com/users/hienmv94/followers","following_url":"https://api.github.com/users/hienmv94/following{/other_user}","gists_url":"https://api.github.com/users/hienmv94/gists{/gist_id}","starred_url":"https://api.github.com/users/hienmv94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hienmv94/subscriptions","organizations_url":"https://api.github.com/users/hienmv94/orgs","repos_url":"https://api.github.com/users/hienmv94/repos","events_url":"https://api.github.com/users/hienmv94/events{/privacy}","received_events_url":"https://api.github.com/users/hienmv94/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-01T01:35:19Z","updated_at":"2016-02-01T02:01:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"513e1e978ba6054f1c1b30ac402e0ad0cbfb1d1d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fts_50/pulls/10/commits","review_comments_url":"https://api.github.com/repos/framgia/fts_50/pulls/10/comments","review_comment_url":"https://api.github.com/repos/framgia/fts_50/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fts_50/issues/10/comments","statuses_url":"https://api.github.com/repos/framgia/fts_50/statuses/532cf43f423d360c79096dca9bdd2e401d884442","head":{"label":"hienmv94:task/52848_create_exam","ref":"task/52848_create_exam","sha":"532cf43f423d360c79096dca9bdd2e401d884442","user":{"login":"hienmv94","id":7650170,"avatar_url":"https://avatars.githubusercontent.com/u/7650170?v=3","gravatar_id":"","url":"https://api.github.com/users/hienmv94","html_url":"https://github.com/hienmv94","followers_url":"https://api.github.com/users/hienmv94/followers","following_url":"https://api.github.com/users/hienmv94/following{/other_user}","gists_url":"https://api.github.com/users/hienmv94/gists{/gist_id}","starred_url":"https://api.github.com/users/hienmv94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hienmv94/subscriptions","organizations_url":"https://api.github.com/users/hienmv94/orgs","repos_url":"https://api.github.com/users/hienmv94/repos","events_url":"https://api.github.com/users/hienmv94/events{/privacy}","received_events_url":"https://api.github.com/users/hienmv94/received_events","type":"User","site_admin":false},"repo":{"id":50476878,"name":"fts_50","full_name":"hienmv94/fts_50","owner":{"login":"hienmv94","id":7650170,"avatar_url":"https://avatars.githubusercontent.com/u/7650170?v=3","gravatar_id":"","url":"https://api.github.com/users/hienmv94","html_url":"https://github.com/hienmv94","followers_url":"https://api.github.com/users/hienmv94/followers","following_url":"https://api.github.com/users/hienmv94/following{/other_user}","gists_url":"https://api.github.com/users/hienmv94/gists{/gist_id}","starred_url":"https://api.github.com/users/hienmv94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hienmv94/subscriptions","organizations_url":"https://api.github.com/users/hienmv94/orgs","repos_url":"https://api.github.com/users/hienmv94/repos","events_url":"https://api.github.com/users/hienmv94/events{/privacy}","received_events_url":"https://api.github.com/users/hienmv94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hienmv94/fts_50","description":"Framgia Test System (training)","fork":true,"url":"https://api.github.com/repos/hienmv94/fts_50","forks_url":"https://api.github.com/repos/hienmv94/fts_50/forks","keys_url":"https://api.github.com/repos/hienmv94/fts_50/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hienmv94/fts_50/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hienmv94/fts_50/teams","hooks_url":"https://api.github.com/repos/hienmv94/fts_50/hooks","issue_events_url":"https://api.github.com/repos/hienmv94/fts_50/issues/events{/number}","events_url":"https://api.github.com/repos/hienmv94/fts_50/events","assignees_url":"https://api.github.com/repos/hienmv94/fts_50/assignees{/user}","branches_url":"https://api.github.com/repos/hienmv94/fts_50/branches{/branch}","tags_url":"https://api.github.com/repos/hienmv94/fts_50/tags","blobs_url":"https://api.github.com/repos/hienmv94/fts_50/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hienmv94/fts_50/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hienmv94/fts_50/git/refs{/sha}","trees_url":"https://api.github.com/repos/hienmv94/fts_50/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hienmv94/fts_50/statuses/{sha}","languages_url":"https://api.github.com/repos/hienmv94/fts_50/languages","stargazers_url":"https://api.github.com/repos/hienmv94/fts_50/stargazers","contributors_url":"https://api.github.com/repos/hienmv94/fts_50/contributors","subscribers_url":"https://api.github.com/repos/hienmv94/fts_50/subscribers","subscription_url":"https://api.github.com/repos/hienmv94/fts_50/subscription","commits_url":"https://api.github.com/repos/hienmv94/fts_50/commits{/sha}","git_commits_url":"https://api.github.com/repos/hienmv94/fts_50/git/commits{/sha}","comments_url":"https://api.github.com/repos/hienmv94/fts_50/comments{/number}","issue_comment_url":"https://api.github.com/repos/hienmv94/fts_50/issues/comments{/number}","contents_url":"https://api.github.com/repos/hienmv94/fts_50/contents/{+path}","compare_url":"https://api.github.com/repos/hienmv94/fts_50/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hienmv94/fts_50/merges","archive_url":"https://api.github.com/repos/hienmv94/fts_50/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hienmv94/fts_50/downloads","issues_url":"https://api.github.com/repos/hienmv94/fts_50/issues{/number}","pulls_url":"https://api.github.com/repos/hienmv94/fts_50/pulls{/number}","milestones_url":"https://api.github.com/repos/hienmv94/fts_50/milestones{/number}","notifications_url":"https://api.github.com/repos/hienmv94/fts_50/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hienmv94/fts_50/labels{/name}","releases_url":"https://api.github.com/repos/hienmv94/fts_50/releases{/id}","deployments_url":"https://api.github.com/repos/hienmv94/fts_50/deployments","created_at":"2016-01-27T02:52:59Z","updated_at":"2016-01-21T07:12:59Z","pushed_at":"2016-02-01T01:56:36Z","git_url":"git://github.com/hienmv94/fts_50.git","ssh_url":"git@github.com:hienmv94/fts_50.git","clone_url":"https://github.com/hienmv94/fts_50.git","svn_url":"https://github.com/hienmv94/fts_50","homepage":null,"size":42,"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":"64396a71efda34acdbe8d646837dbeee1f5d57e3","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":50089277,"name":"fts_50","full_name":"framgia/fts_50","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/fts_50","description":"Framgia Test System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fts_50","forks_url":"https://api.github.com/repos/framgia/fts_50/forks","keys_url":"https://api.github.com/repos/framgia/fts_50/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fts_50/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fts_50/teams","hooks_url":"https://api.github.com/repos/framgia/fts_50/hooks","issue_events_url":"https://api.github.com/repos/framgia/fts_50/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fts_50/events","assignees_url":"https://api.github.com/repos/framgia/fts_50/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fts_50/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fts_50/tags","blobs_url":"https://api.github.com/repos/framgia/fts_50/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fts_50/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fts_50/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fts_50/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fts_50/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fts_50/languages","stargazers_url":"https://api.github.com/repos/framgia/fts_50/stargazers","contributors_url":"https://api.github.com/repos/framgia/fts_50/contributors","subscribers_url":"https://api.github.com/repos/framgia/fts_50/subscribers","subscription_url":"https://api.github.com/repos/framgia/fts_50/subscription","commits_url":"https://api.github.com/repos/framgia/fts_50/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fts_50/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fts_50/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fts_50/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fts_50/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fts_50/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fts_50/merges","archive_url":"https://api.github.com/repos/framgia/fts_50/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fts_50/downloads","issues_url":"https://api.github.com/repos/framgia/fts_50/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fts_50/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fts_50/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fts_50/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fts_50/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fts_50/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fts_50/deployments","created_at":"2016-01-21T07:12:59Z","updated_at":"2016-01-21T07:12:59Z","pushed_at":"2016-02-01T01:56:36Z","git_url":"git://github.com/framgia/fts_50.git","ssh_url":"git@github.com:framgia/fts_50.git","clone_url":"https://github.com/framgia/fts_50.git","svn_url":"https://github.com/framgia/fts_50","homepage":null,"size":59,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_50/pulls/10"},"html":{"href":"https://github.com/framgia/fts_50/pull/10"},"issue":{"href":"https://api.github.com/repos/framgia/fts_50/issues/10"},"comments":{"href":"https://api.github.com/repos/framgia/fts_50/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fts_50/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fts_50/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fts_50/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fts_50/statuses/532cf43f423d360c79096dca9bdd2e401d884442"}}}}