{"action":"created","comment":{"url":"https://api.github.com/repos/sachmem/els6/pulls/comments/73104691","id":73104691,"diff_hunk":"@@ -1,9 +1,21 @@\n-<% provide(:title, t(\"home\")) %>\n-<ul class=\"categories\">\n-  <%= @words.count %>\n+<% provide(:title, t(\"lesson\")) %>\n+\n+<%= form_for :resultlesson, url: resultlessons_path do |f| %>\n+\n+  <%= hidden_field_tag :category_id, @category.id %>\n+  <%= hidden_field_tag :lesson_id, @lesson.id %>\n+\n   <% @words.each do |word| %>\n-    <li>\n-      <%= word.content %>\n-    </li>\n+    <%= word.content + t(\"question\") %>\n+    <% word.answers.each do |answer| %>\n+      <div class=\"radio\">\n+        <label>\n+          <%= f.radio_button word.id.to_s, answer.mean  %>\n+          <%= f.label answer.mean %>\n+        </label>\n+      </div>\n+    <% end %>\n+    <br />","path":"app/views/lessons/show.html.erb","position":24,"original_position":24,"commit_id":"56351c8ed6e56b450cbc1b6ed3c716e13c5cbdda","original_commit_id":"56351c8ed6e56b450cbc1b6ed3c716e13c5cbdda","user":{"login":"trantube94","id":13098920,"avatar_url":"https://avatars.githubusercontent.com/u/13098920?v=3","gravatar_id":"","url":"https://api.github.com/users/trantube94","html_url":"https://github.com/trantube94","followers_url":"https://api.github.com/users/trantube94/followers","following_url":"https://api.github.com/users/trantube94/following{/other_user}","gists_url":"https://api.github.com/users/trantube94/gists{/gist_id}","starred_url":"https://api.github.com/users/trantube94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trantube94/subscriptions","organizations_url":"https://api.github.com/users/trantube94/orgs","repos_url":"https://api.github.com/users/trantube94/repos","events_url":"https://api.github.com/users/trantube94/events{/privacy}","received_events_url":"https://api.github.com/users/trantube94/received_events","type":"User","site_admin":false},"body":"bỏ space và / đi","created_at":"2016-08-02T07:15:47Z","updated_at":"2016-08-02T07:15:47Z","html_url":"https://github.com/sachmem/els6/pull/29#discussion_r73104691","pull_request_url":"https://api.github.com/repos/sachmem/els6/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/sachmem/els6/pulls/comments/73104691"},"html":{"href":"https://github.com/sachmem/els6/pull/29#discussion_r73104691"},"pull_request":{"href":"https://api.github.com/repos/sachmem/els6/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/sachmem/els6/pulls/29","id":79672972,"html_url":"https://github.com/sachmem/els6/pull/29","diff_url":"https://github.com/sachmem/els6/pull/29.diff","patch_url":"https://github.com/sachmem/els6/pull/29.patch","issue_url":"https://api.github.com/repos/sachmem/els6/issues/29","number":29,"state":"open","locked":false,"title":"complete","user":{"login":"tainguyen14020403","id":17426044,"avatar_url":"https://avatars.githubusercontent.com/u/17426044?v=3","gravatar_id":"","url":"https://api.github.com/users/tainguyen14020403","html_url":"https://github.com/tainguyen14020403","followers_url":"https://api.github.com/users/tainguyen14020403/followers","following_url":"https://api.github.com/users/tainguyen14020403/following{/other_user}","gists_url":"https://api.github.com/users/tainguyen14020403/gists{/gist_id}","starred_url":"https://api.github.com/users/tainguyen14020403/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tainguyen14020403/subscriptions","organizations_url":"https://api.github.com/users/tainguyen14020403/orgs","repos_url":"https://api.github.com/users/tainguyen14020403/repos","events_url":"https://api.github.com/users/tainguyen14020403/events{/privacy}","received_events_url":"https://api.github.com/users/tainguyen14020403/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-02T04:01:55Z","updated_at":"2016-08-02T07:15:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d5fdc8b5f4fc53e2801c97c655442015c1bee66","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sachmem/els6/pulls/29/commits","review_comments_url":"https://api.github.com/repos/sachmem/els6/pulls/29/comments","review_comment_url":"https://api.github.com/repos/sachmem/els6/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sachmem/els6/issues/29/comments","statuses_url":"https://api.github.com/repos/sachmem/els6/statuses/56351c8ed6e56b450cbc1b6ed3c716e13c5cbdda","head":{"label":"tainguyen14020403:complete_lesson","ref":"complete_lesson","sha":"56351c8ed6e56b450cbc1b6ed3c716e13c5cbdda","user":{"login":"tainguyen14020403","id":17426044,"avatar_url":"https://avatars.githubusercontent.com/u/17426044?v=3","gravatar_id":"","url":"https://api.github.com/users/tainguyen14020403","html_url":"https://github.com/tainguyen14020403","followers_url":"https://api.github.com/users/tainguyen14020403/followers","following_url":"https://api.github.com/users/tainguyen14020403/following{/other_user}","gists_url":"https://api.github.com/users/tainguyen14020403/gists{/gist_id}","starred_url":"https://api.github.com/users/tainguyen14020403/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tainguyen14020403/subscriptions","organizations_url":"https://api.github.com/users/tainguyen14020403/orgs","repos_url":"https://api.github.com/users/tainguyen14020403/repos","events_url":"https://api.github.com/users/tainguyen14020403/events{/privacy}","received_events_url":"https://api.github.com/users/tainguyen14020403/received_events","type":"User","site_admin":false},"repo":{"id":63656217,"name":"els6","full_name":"tainguyen14020403/els6","owner":{"login":"tainguyen14020403","id":17426044,"avatar_url":"https://avatars.githubusercontent.com/u/17426044?v=3","gravatar_id":"","url":"https://api.github.com/users/tainguyen14020403","html_url":"https://github.com/tainguyen14020403","followers_url":"https://api.github.com/users/tainguyen14020403/followers","following_url":"https://api.github.com/users/tainguyen14020403/following{/other_user}","gists_url":"https://api.github.com/users/tainguyen14020403/gists{/gist_id}","starred_url":"https://api.github.com/users/tainguyen14020403/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tainguyen14020403/subscriptions","organizations_url":"https://api.github.com/users/tainguyen14020403/orgs","repos_url":"https://api.github.com/users/tainguyen14020403/repos","events_url":"https://api.github.com/users/tainguyen14020403/events{/privacy}","received_events_url":"https://api.github.com/users/tainguyen14020403/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tainguyen14020403/els6","description":null,"fork":true,"url":"https://api.github.com/repos/tainguyen14020403/els6","forks_url":"https://api.github.com/repos/tainguyen14020403/els6/forks","keys_url":"https://api.github.com/repos/tainguyen14020403/els6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tainguyen14020403/els6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tainguyen14020403/els6/teams","hooks_url":"https://api.github.com/repos/tainguyen14020403/els6/hooks","issue_events_url":"https://api.github.com/repos/tainguyen14020403/els6/issues/events{/number}","events_url":"https://api.github.com/repos/tainguyen14020403/els6/events","assignees_url":"https://api.github.com/repos/tainguyen14020403/els6/assignees{/user}","branches_url":"https://api.github.com/repos/tainguyen14020403/els6/branches{/branch}","tags_url":"https://api.github.com/repos/tainguyen14020403/els6/tags","blobs_url":"https://api.github.com/repos/tainguyen14020403/els6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tainguyen14020403/els6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tainguyen14020403/els6/git/refs{/sha}","trees_url":"https://api.github.com/repos/tainguyen14020403/els6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tainguyen14020403/els6/statuses/{sha}","languages_url":"https://api.github.com/repos/tainguyen14020403/els6/languages","stargazers_url":"https://api.github.com/repos/tainguyen14020403/els6/stargazers","contributors_url":"https://api.github.com/repos/tainguyen14020403/els6/contributors","subscribers_url":"https://api.github.com/repos/tainguyen14020403/els6/subscribers","subscription_url":"https://api.github.com/repos/tainguyen14020403/els6/subscription","commits_url":"https://api.github.com/repos/tainguyen14020403/els6/commits{/sha}","git_commits_url":"https://api.github.com/repos/tainguyen14020403/els6/git/commits{/sha}","comments_url":"https://api.github.com/repos/tainguyen14020403/els6/comments{/number}","issue_comment_url":"https://api.github.com/repos/tainguyen14020403/els6/issues/comments{/number}","contents_url":"https://api.github.com/repos/tainguyen14020403/els6/contents/{+path}","compare_url":"https://api.github.com/repos/tainguyen14020403/els6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tainguyen14020403/els6/merges","archive_url":"https://api.github.com/repos/tainguyen14020403/els6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tainguyen14020403/els6/downloads","issues_url":"https://api.github.com/repos/tainguyen14020403/els6/issues{/number}","pulls_url":"https://api.github.com/repos/tainguyen14020403/els6/pulls{/number}","milestones_url":"https://api.github.com/repos/tainguyen14020403/els6/milestones{/number}","notifications_url":"https://api.github.com/repos/tainguyen14020403/els6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tainguyen14020403/els6/labels{/name}","releases_url":"https://api.github.com/repos/tainguyen14020403/els6/releases{/id}","deployments_url":"https://api.github.com/repos/tainguyen14020403/els6/deployments","created_at":"2016-07-19T03:16:27Z","updated_at":"2016-07-19T03:16:28Z","pushed_at":"2016-08-02T04:32:57Z","git_url":"git://github.com/tainguyen14020403/els6.git","ssh_url":"git@github.com:tainguyen14020403/els6.git","clone_url":"https://github.com/tainguyen14020403/els6.git","svn_url":"https://github.com/tainguyen14020403/els6","homepage":null,"size":62,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"sachmem:development","ref":"development","sha":"cb9755830381be01b1b4fb94c22eba2053d7c8b7","user":{"login":"sachmem","id":20066220,"avatar_url":"https://avatars.githubusercontent.com/u/20066220?v=3","gravatar_id":"","url":"https://api.github.com/users/sachmem","html_url":"https://github.com/sachmem","followers_url":"https://api.github.com/users/sachmem/followers","following_url":"https://api.github.com/users/sachmem/following{/other_user}","gists_url":"https://api.github.com/users/sachmem/gists{/gist_id}","starred_url":"https://api.github.com/users/sachmem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachmem/subscriptions","organizations_url":"https://api.github.com/users/sachmem/orgs","repos_url":"https://api.github.com/users/sachmem/repos","events_url":"https://api.github.com/users/sachmem/events{/privacy}","received_events_url":"https://api.github.com/users/sachmem/received_events","type":"Organization","site_admin":false},"repo":{"id":63654794,"name":"els6","full_name":"sachmem/els6","owner":{"login":"sachmem","id":20066220,"avatar_url":"https://avatars.githubusercontent.com/u/20066220?v=3","gravatar_id":"","url":"https://api.github.com/users/sachmem","html_url":"https://github.com/sachmem","followers_url":"https://api.github.com/users/sachmem/followers","following_url":"https://api.github.com/users/sachmem/following{/other_user}","gists_url":"https://api.github.com/users/sachmem/gists{/gist_id}","starred_url":"https://api.github.com/users/sachmem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachmem/subscriptions","organizations_url":"https://api.github.com/users/sachmem/orgs","repos_url":"https://api.github.com/users/sachmem/repos","events_url":"https://api.github.com/users/sachmem/events{/privacy}","received_events_url":"https://api.github.com/users/sachmem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sachmem/els6","description":null,"fork":false,"url":"https://api.github.com/repos/sachmem/els6","forks_url":"https://api.github.com/repos/sachmem/els6/forks","keys_url":"https://api.github.com/repos/sachmem/els6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sachmem/els6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sachmem/els6/teams","hooks_url":"https://api.github.com/repos/sachmem/els6/hooks","issue_events_url":"https://api.github.com/repos/sachmem/els6/issues/events{/number}","events_url":"https://api.github.com/repos/sachmem/els6/events","assignees_url":"https://api.github.com/repos/sachmem/els6/assignees{/user}","branches_url":"https://api.github.com/repos/sachmem/els6/branches{/branch}","tags_url":"https://api.github.com/repos/sachmem/els6/tags","blobs_url":"https://api.github.com/repos/sachmem/els6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sachmem/els6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sachmem/els6/git/refs{/sha}","trees_url":"https://api.github.com/repos/sachmem/els6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sachmem/els6/statuses/{sha}","languages_url":"https://api.github.com/repos/sachmem/els6/languages","stargazers_url":"https://api.github.com/repos/sachmem/els6/stargazers","contributors_url":"https://api.github.com/repos/sachmem/els6/contributors","subscribers_url":"https://api.github.com/repos/sachmem/els6/subscribers","subscription_url":"https://api.github.com/repos/sachmem/els6/subscription","commits_url":"https://api.github.com/repos/sachmem/els6/commits{/sha}","git_commits_url":"https://api.github.com/repos/sachmem/els6/git/commits{/sha}","comments_url":"https://api.github.com/repos/sachmem/els6/comments{/number}","issue_comment_url":"https://api.github.com/repos/sachmem/els6/issues/comments{/number}","contents_url":"https://api.github.com/repos/sachmem/els6/contents/{+path}","compare_url":"https://api.github.com/repos/sachmem/els6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sachmem/els6/merges","archive_url":"https://api.github.com/repos/sachmem/els6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sachmem/els6/downloads","issues_url":"https://api.github.com/repos/sachmem/els6/issues{/number}","pulls_url":"https://api.github.com/repos/sachmem/els6/pulls{/number}","milestones_url":"https://api.github.com/repos/sachmem/els6/milestones{/number}","notifications_url":"https://api.github.com/repos/sachmem/els6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sachmem/els6/labels{/name}","releases_url":"https://api.github.com/repos/sachmem/els6/releases{/id}","deployments_url":"https://api.github.com/repos/sachmem/els6/deployments","created_at":"2016-07-19T02:55:33Z","updated_at":"2016-07-19T02:57:07Z","pushed_at":"2016-08-02T07:13:29Z","git_url":"git://github.com/sachmem/els6.git","ssh_url":"git@github.com:sachmem/els6.git","clone_url":"https://github.com/sachmem/els6.git","svn_url":"https://github.com/sachmem/els6","homepage":null,"size":84,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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/sachmem/els6/pulls/29"},"html":{"href":"https://github.com/sachmem/els6/pull/29"},"issue":{"href":"https://api.github.com/repos/sachmem/els6/issues/29"},"comments":{"href":"https://api.github.com/repos/sachmem/els6/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/sachmem/els6/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/sachmem/els6/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sachmem/els6/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/sachmem/els6/statuses/56351c8ed6e56b450cbc1b6ed3c716e13c5cbdda"}}}}
{"actor":{"display_login":"trantube94"}}