{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_25/pulls/comments/30382181","id":30382181,"diff_hunk":"@@ -1,17 +1,10 @@\n-<%= form_for [:supervisor, @course]  do |f| %>\n+<%= simple_form_for [:supervisor, @course]  do |f| %>\n   <%= render 'shared/error_messages', object: f.object %>\n-  \n-  <%= f.label :name %>\n-  <%= f.text_field :name, class: 'form-control' %>\n-\n-  <%= f.label :instruction %>\n-  <%= f.text_area :instruction, class: 'form-control' %>\n \n-  <%= f.label :start_date %>\n-  <%= f.datetime_field :start_date, class: 'form-control' %>\n+  <%= f.input :name, :label => \"Enter course's name\" %>","path":"app/views/supervisor/courses/_form.html.erb","position":13,"original_position":13,"commit_id":"4e052f15346f53b9e4f2f06c7b6cf0f31d234efe","original_commit_id":"4e052f15346f53b9e4f2f06c7b6cf0f31d234efe","user":{"login":"NguyenTanDuc","id":12166369,"avatar_url":"https://avatars.githubusercontent.com/u/12166369?v=3","gravatar_id":"","url":"https://api.github.com/users/NguyenTanDuc","html_url":"https://github.com/NguyenTanDuc","followers_url":"https://api.github.com/users/NguyenTanDuc/followers","following_url":"https://api.github.com/users/NguyenTanDuc/following{/other_user}","gists_url":"https://api.github.com/users/NguyenTanDuc/gists{/gist_id}","starred_url":"https://api.github.com/users/NguyenTanDuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NguyenTanDuc/subscriptions","organizations_url":"https://api.github.com/users/NguyenTanDuc/orgs","repos_url":"https://api.github.com/users/NguyenTanDuc/repos","events_url":"https://api.github.com/users/NguyenTanDuc/events{/privacy}","received_events_url":"https://api.github.com/users/NguyenTanDuc/received_events","type":"User","site_admin":false},"body":"remove =>, label: \"xxx\"","created_at":"2015-05-15T02:58:05Z","updated_at":"2015-05-15T02:58:05Z","html_url":"https://github.com/framgia/tms_25/pull/15#discussion_r30382181","pull_request_url":"https://api.github.com/repos/framgia/tms_25/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_25/pulls/comments/30382181"},"html":{"href":"https://github.com/framgia/tms_25/pull/15#discussion_r30382181"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_25/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_25/pulls/15","id":35480723,"html_url":"https://github.com/framgia/tms_25/pull/15","diff_url":"https://github.com/framgia/tms_25/pull/15.diff","patch_url":"https://github.com/framgia/tms_25/pull/15.patch","issue_url":"https://api.github.com/repos/framgia/tms_25/issues/15","number":15,"state":"open","locked":false,"title":"finish create course and add subject to a course and show list subjec…","user":{"login":"vjnhat","id":11957665,"avatar_url":"https://avatars.githubusercontent.com/u/11957665?v=3","gravatar_id":"","url":"https://api.github.com/users/vjnhat","html_url":"https://github.com/vjnhat","followers_url":"https://api.github.com/users/vjnhat/followers","following_url":"https://api.github.com/users/vjnhat/following{/other_user}","gists_url":"https://api.github.com/users/vjnhat/gists{/gist_id}","starred_url":"https://api.github.com/users/vjnhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjnhat/subscriptions","organizations_url":"https://api.github.com/users/vjnhat/orgs","repos_url":"https://api.github.com/users/vjnhat/repos","events_url":"https://api.github.com/users/vjnhat/events{/privacy}","received_events_url":"https://api.github.com/users/vjnhat/received_events","type":"User","site_admin":false},"body":"…t on a course","created_at":"2015-05-15T02:43:18Z","updated_at":"2015-05-15T02:58:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"05d086aeb66f12bad274e6b4e37954b17c398076","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_25/pulls/15/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_25/pulls/15/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_25/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/tms_25/issues/15/comments","statuses_url":"https://api.github.com/repos/framgia/tms_25/statuses/4e052f15346f53b9e4f2f06c7b6cf0f31d234efe","head":{"label":"vjnhat:add_and_show_subject_on_a_course","ref":"add_and_show_subject_on_a_course","sha":"4e052f15346f53b9e4f2f06c7b6cf0f31d234efe","user":{"login":"vjnhat","id":11957665,"avatar_url":"https://avatars.githubusercontent.com/u/11957665?v=3","gravatar_id":"","url":"https://api.github.com/users/vjnhat","html_url":"https://github.com/vjnhat","followers_url":"https://api.github.com/users/vjnhat/followers","following_url":"https://api.github.com/users/vjnhat/following{/other_user}","gists_url":"https://api.github.com/users/vjnhat/gists{/gist_id}","starred_url":"https://api.github.com/users/vjnhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjnhat/subscriptions","organizations_url":"https://api.github.com/users/vjnhat/orgs","repos_url":"https://api.github.com/users/vjnhat/repos","events_url":"https://api.github.com/users/vjnhat/events{/privacy}","received_events_url":"https://api.github.com/users/vjnhat/received_events","type":"User","site_admin":false},"repo":{"id":35204520,"name":"tms_25","full_name":"vjnhat/tms_25","owner":{"login":"vjnhat","id":11957665,"avatar_url":"https://avatars.githubusercontent.com/u/11957665?v=3","gravatar_id":"","url":"https://api.github.com/users/vjnhat","html_url":"https://github.com/vjnhat","followers_url":"https://api.github.com/users/vjnhat/followers","following_url":"https://api.github.com/users/vjnhat/following{/other_user}","gists_url":"https://api.github.com/users/vjnhat/gists{/gist_id}","starred_url":"https://api.github.com/users/vjnhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjnhat/subscriptions","organizations_url":"https://api.github.com/users/vjnhat/orgs","repos_url":"https://api.github.com/users/vjnhat/repos","events_url":"https://api.github.com/users/vjnhat/events{/privacy}","received_events_url":"https://api.github.com/users/vjnhat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vjnhat/tms_25","description":"Framgia Training Management System","fork":true,"url":"https://api.github.com/repos/vjnhat/tms_25","forks_url":"https://api.github.com/repos/vjnhat/tms_25/forks","keys_url":"https://api.github.com/repos/vjnhat/tms_25/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vjnhat/tms_25/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vjnhat/tms_25/teams","hooks_url":"https://api.github.com/repos/vjnhat/tms_25/hooks","issue_events_url":"https://api.github.com/repos/vjnhat/tms_25/issues/events{/number}","events_url":"https://api.github.com/repos/vjnhat/tms_25/events","assignees_url":"https://api.github.com/repos/vjnhat/tms_25/assignees{/user}","branches_url":"https://api.github.com/repos/vjnhat/tms_25/branches{/branch}","tags_url":"https://api.github.com/repos/vjnhat/tms_25/tags","blobs_url":"https://api.github.com/repos/vjnhat/tms_25/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vjnhat/tms_25/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vjnhat/tms_25/git/refs{/sha}","trees_url":"https://api.github.com/repos/vjnhat/tms_25/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vjnhat/tms_25/statuses/{sha}","languages_url":"https://api.github.com/repos/vjnhat/tms_25/languages","stargazers_url":"https://api.github.com/repos/vjnhat/tms_25/stargazers","contributors_url":"https://api.github.com/repos/vjnhat/tms_25/contributors","subscribers_url":"https://api.github.com/repos/vjnhat/tms_25/subscribers","subscription_url":"https://api.github.com/repos/vjnhat/tms_25/subscription","commits_url":"https://api.github.com/repos/vjnhat/tms_25/commits{/sha}","git_commits_url":"https://api.github.com/repos/vjnhat/tms_25/git/commits{/sha}","comments_url":"https://api.github.com/repos/vjnhat/tms_25/comments{/number}","issue_comment_url":"https://api.github.com/repos/vjnhat/tms_25/issues/comments{/number}","contents_url":"https://api.github.com/repos/vjnhat/tms_25/contents/{+path}","compare_url":"https://api.github.com/repos/vjnhat/tms_25/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vjnhat/tms_25/merges","archive_url":"https://api.github.com/repos/vjnhat/tms_25/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vjnhat/tms_25/downloads","issues_url":"https://api.github.com/repos/vjnhat/tms_25/issues{/number}","pulls_url":"https://api.github.com/repos/vjnhat/tms_25/pulls{/number}","milestones_url":"https://api.github.com/repos/vjnhat/tms_25/milestones{/number}","notifications_url":"https://api.github.com/repos/vjnhat/tms_25/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vjnhat/tms_25/labels{/name}","releases_url":"https://api.github.com/repos/vjnhat/tms_25/releases{/id}","created_at":"2015-05-07T07:11:00Z","updated_at":"2015-04-15T03:17:52Z","pushed_at":"2015-05-15T02:49:26Z","git_url":"git://github.com/vjnhat/tms_25.git","ssh_url":"git@github.com:vjnhat/tms_25.git","clone_url":"https://github.com/vjnhat/tms_25.git","svn_url":"https://github.com/vjnhat/tms_25","homepage":null,"size":349,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"6a4a47c5549fc1eef293926733f64676d115ada3","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":33970699,"name":"tms_25","full_name":"framgia/tms_25","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/tms_25","description":"Framgia Training Management System","fork":false,"url":"https://api.github.com/repos/framgia/tms_25","forks_url":"https://api.github.com/repos/framgia/tms_25/forks","keys_url":"https://api.github.com/repos/framgia/tms_25/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_25/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_25/teams","hooks_url":"https://api.github.com/repos/framgia/tms_25/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_25/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_25/events","assignees_url":"https://api.github.com/repos/framgia/tms_25/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_25/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_25/tags","blobs_url":"https://api.github.com/repos/framgia/tms_25/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_25/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_25/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_25/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_25/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_25/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_25/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_25/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_25/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_25/subscription","commits_url":"https://api.github.com/repos/framgia/tms_25/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_25/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_25/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_25/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/tms_25/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_25/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_25/merges","archive_url":"https://api.github.com/repos/framgia/tms_25/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_25/downloads","issues_url":"https://api.github.com/repos/framgia/tms_25/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_25/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_25/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_25/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_25/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_25/releases{/id}","created_at":"2015-04-15T03:17:52Z","updated_at":"2015-04-15T03:17:52Z","pushed_at":"2015-05-15T02:49:26Z","git_url":"git://github.com/framgia/tms_25.git","ssh_url":"git@github.com:framgia/tms_25.git","clone_url":"https://github.com/framgia/tms_25.git","svn_url":"https://github.com/framgia/tms_25","homepage":null,"size":1056,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_25/pulls/15"},"html":{"href":"https://github.com/framgia/tms_25/pull/15"},"issue":{"href":"https://api.github.com/repos/framgia/tms_25/issues/15"},"comments":{"href":"https://api.github.com/repos/framgia/tms_25/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_25/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_25/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_25/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_25/statuses/4e052f15346f53b9e4f2f06c7b6cf0f31d234efe"}}}}