{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_11/pulls/comments/24393342","id":24393342,"diff_hunk":"@@ -0,0 +1,25 @@\n+<div class=\"row\">\n+  <div class=\"col-md-6 col-md-offset-3\">\n+    <%= form_for([:admin, @course]) do |f| %>\n+      <%= render 'shared/error_messages', obj: f.object %>\n+\n+      <%= f.label :name %>\n+      <%= f.text_field :name, class: 'form_control' %>\n+\n+      <%= f.label :description %>\n+      <%= f.text_area :description, class: 'form_control' %>\n+\n+      <%= f.label :begin_at %>\n+      <%= f.date_select :begin_at, :start_year => Date.current.year,\n+                                   :end_year => Date.current.year + 10,","path":"app/views/admin/courses/_form.html.erb","position":14,"original_position":14,"commit_id":"cf5be9217e02f37e2c96a11db5cbda46de013e90","original_commit_id":"cf5be9217e02f37e2c96a11db5cbda46de013e90","user":{"login":"PhamNgocManh","id":8983522,"avatar_url":"https://avatars.githubusercontent.com/u/8983522?v=3","gravatar_id":"","url":"https://api.github.com/users/PhamNgocManh","html_url":"https://github.com/PhamNgocManh","followers_url":"https://api.github.com/users/PhamNgocManh/followers","following_url":"https://api.github.com/users/PhamNgocManh/following{/other_user}","gists_url":"https://api.github.com/users/PhamNgocManh/gists{/gist_id}","starred_url":"https://api.github.com/users/PhamNgocManh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhamNgocManh/subscriptions","organizations_url":"https://api.github.com/users/PhamNgocManh/orgs","repos_url":"https://api.github.com/users/PhamNgocManh/repos","events_url":"https://api.github.com/users/PhamNgocManh/events{/privacy}","received_events_url":"https://api.github.com/users/PhamNgocManh/received_events","type":"User","site_admin":false},"body":"end_year: Date.c~","created_at":"2015-02-10T07:23:03Z","updated_at":"2015-02-10T07:23:03Z","html_url":"https://github.com/framgia/tms_11/pull/17#discussion_r24393342","pull_request_url":"https://api.github.com/repos/framgia/tms_11/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_11/pulls/comments/24393342"},"html":{"href":"https://github.com/framgia/tms_11/pull/17#discussion_r24393342"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_11/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_11/pulls/17","id":28974842,"html_url":"https://github.com/framgia/tms_11/pull/17","diff_url":"https://github.com/framgia/tms_11/pull/17.diff","patch_url":"https://github.com/framgia/tms_11/pull/17.patch","issue_url":"https://api.github.com/repos/framgia/tms_11/issues/17","number":17,"state":"open","locked":false,"title":"Can assign trainees to course 1.1","user":{"login":"loclv","id":6302717,"avatar_url":"https://avatars.githubusercontent.com/u/6302717?v=3","gravatar_id":"","url":"https://api.github.com/users/loclv","html_url":"https://github.com/loclv","followers_url":"https://api.github.com/users/loclv/followers","following_url":"https://api.github.com/users/loclv/following{/other_user}","gists_url":"https://api.github.com/users/loclv/gists{/gist_id}","starred_url":"https://api.github.com/users/loclv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loclv/subscriptions","organizations_url":"https://api.github.com/users/loclv/orgs","repos_url":"https://api.github.com/users/loclv/repos","events_url":"https://api.github.com/users/loclv/events{/privacy}","received_events_url":"https://api.github.com/users/loclv/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-10T01:57:28Z","updated_at":"2015-02-10T07:23:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54779892caf7eef3aa07d429ca945dafe5f1979e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_11/pulls/17/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_11/pulls/17/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_11/pulls/comments/{number}","comments_url":"https://api.github.com/repos/framgia/tms_11/issues/17/comments","statuses_url":"https://api.github.com/repos/framgia/tms_11/statuses/cf5be9217e02f37e2c96a11db5cbda46de013e90","head":{"label":"loclv:can-assign-trainees-to-course-1.1","ref":"can-assign-trainees-to-course-1.1","sha":"cf5be9217e02f37e2c96a11db5cbda46de013e90","user":{"login":"loclv","id":6302717,"avatar_url":"https://avatars.githubusercontent.com/u/6302717?v=3","gravatar_id":"","url":"https://api.github.com/users/loclv","html_url":"https://github.com/loclv","followers_url":"https://api.github.com/users/loclv/followers","following_url":"https://api.github.com/users/loclv/following{/other_user}","gists_url":"https://api.github.com/users/loclv/gists{/gist_id}","starred_url":"https://api.github.com/users/loclv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loclv/subscriptions","organizations_url":"https://api.github.com/users/loclv/orgs","repos_url":"https://api.github.com/users/loclv/repos","events_url":"https://api.github.com/users/loclv/events{/privacy}","received_events_url":"https://api.github.com/users/loclv/received_events","type":"User","site_admin":false},"repo":{"id":29960537,"name":"tms_11","full_name":"loclv/tms_11","owner":{"login":"loclv","id":6302717,"avatar_url":"https://avatars.githubusercontent.com/u/6302717?v=3","gravatar_id":"","url":"https://api.github.com/users/loclv","html_url":"https://github.com/loclv","followers_url":"https://api.github.com/users/loclv/followers","following_url":"https://api.github.com/users/loclv/following{/other_user}","gists_url":"https://api.github.com/users/loclv/gists{/gist_id}","starred_url":"https://api.github.com/users/loclv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loclv/subscriptions","organizations_url":"https://api.github.com/users/loclv/orgs","repos_url":"https://api.github.com/users/loclv/repos","events_url":"https://api.github.com/users/loclv/events{/privacy}","received_events_url":"https://api.github.com/users/loclv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/loclv/tms_11","description":"Framgia Training Management System (training)","fork":true,"url":"https://api.github.com/repos/loclv/tms_11","forks_url":"https://api.github.com/repos/loclv/tms_11/forks","keys_url":"https://api.github.com/repos/loclv/tms_11/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loclv/tms_11/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loclv/tms_11/teams","hooks_url":"https://api.github.com/repos/loclv/tms_11/hooks","issue_events_url":"https://api.github.com/repos/loclv/tms_11/issues/events{/number}","events_url":"https://api.github.com/repos/loclv/tms_11/events","assignees_url":"https://api.github.com/repos/loclv/tms_11/assignees{/user}","branches_url":"https://api.github.com/repos/loclv/tms_11/branches{/branch}","tags_url":"https://api.github.com/repos/loclv/tms_11/tags","blobs_url":"https://api.github.com/repos/loclv/tms_11/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loclv/tms_11/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loclv/tms_11/git/refs{/sha}","trees_url":"https://api.github.com/repos/loclv/tms_11/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loclv/tms_11/statuses/{sha}","languages_url":"https://api.github.com/repos/loclv/tms_11/languages","stargazers_url":"https://api.github.com/repos/loclv/tms_11/stargazers","contributors_url":"https://api.github.com/repos/loclv/tms_11/contributors","subscribers_url":"https://api.github.com/repos/loclv/tms_11/subscribers","subscription_url":"https://api.github.com/repos/loclv/tms_11/subscription","commits_url":"https://api.github.com/repos/loclv/tms_11/commits{/sha}","git_commits_url":"https://api.github.com/repos/loclv/tms_11/git/commits{/sha}","comments_url":"https://api.github.com/repos/loclv/tms_11/comments{/number}","issue_comment_url":"https://api.github.com/repos/loclv/tms_11/issues/comments/{number}","contents_url":"https://api.github.com/repos/loclv/tms_11/contents/{+path}","compare_url":"https://api.github.com/repos/loclv/tms_11/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loclv/tms_11/merges","archive_url":"https://api.github.com/repos/loclv/tms_11/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loclv/tms_11/downloads","issues_url":"https://api.github.com/repos/loclv/tms_11/issues{/number}","pulls_url":"https://api.github.com/repos/loclv/tms_11/pulls{/number}","milestones_url":"https://api.github.com/repos/loclv/tms_11/milestones{/number}","notifications_url":"https://api.github.com/repos/loclv/tms_11/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loclv/tms_11/labels{/name}","releases_url":"https://api.github.com/repos/loclv/tms_11/releases{/id}","created_at":"2015-01-28T09:44:56Z","updated_at":"2015-01-26T01:57:52Z","pushed_at":"2015-02-10T04:46:25Z","git_url":"git://github.com/loclv/tms_11.git","ssh_url":"git@github.com:loclv/tms_11.git","clone_url":"https://github.com/loclv/tms_11.git","svn_url":"https://github.com/loclv/tms_11","homepage":null,"size":179,"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":"a8e2e2d5144bbf14faa5d7720d100d58267be4bb","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":29840538,"name":"tms_11","full_name":"framgia/tms_11","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_11","description":"Framgia Training Management System (training)","fork":false,"url":"https://api.github.com/repos/framgia/tms_11","forks_url":"https://api.github.com/repos/framgia/tms_11/forks","keys_url":"https://api.github.com/repos/framgia/tms_11/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_11/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_11/teams","hooks_url":"https://api.github.com/repos/framgia/tms_11/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_11/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_11/events","assignees_url":"https://api.github.com/repos/framgia/tms_11/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_11/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_11/tags","blobs_url":"https://api.github.com/repos/framgia/tms_11/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_11/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_11/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_11/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_11/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_11/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_11/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_11/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_11/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_11/subscription","commits_url":"https://api.github.com/repos/framgia/tms_11/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_11/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_11/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_11/issues/comments/{number}","contents_url":"https://api.github.com/repos/framgia/tms_11/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_11/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_11/merges","archive_url":"https://api.github.com/repos/framgia/tms_11/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_11/downloads","issues_url":"https://api.github.com/repos/framgia/tms_11/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_11/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_11/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_11/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_11/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_11/releases{/id}","created_at":"2015-01-26T01:57:52Z","updated_at":"2015-01-26T01:57:52Z","pushed_at":"2015-02-09T07:56:55Z","git_url":"git://github.com/framgia/tms_11.git","ssh_url":"git@github.com:framgia/tms_11.git","clone_url":"https://github.com/framgia/tms_11.git","svn_url":"https://github.com/framgia/tms_11","homepage":null,"size":365,"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":3,"forks":3,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_11/pulls/17"},"html":{"href":"https://github.com/framgia/tms_11/pull/17"},"issue":{"href":"https://api.github.com/repos/framgia/tms_11/issues/17"},"comments":{"href":"https://api.github.com/repos/framgia/tms_11/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_11/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_11/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_11/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_11/statuses/cf5be9217e02f37e2c96a11db5cbda46de013e90"}}}}