{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_66/pulls/comments/33903896","id":33903896,"diff_hunk":"@@ -0,0 +1,24 @@\n+<%= form_for words_path, method: :get do |f| %>\n+  <div class=\"row\">\n+    <div id=\"search-field\">\n+      <div class=\"col-md-3 col-md-offset-3\">\n+       <%= select_tag \"category_id\", options_from_collection_for_select(@categories, \"id\", \"name\", \n+        params[:category_id]), include_blank: t(\"word.all\")%>\n+      </div>\n+    </div>\n+    <div class=\"tm-radio\">\n+      <% [Settings.filter.learned, Settings.filter.not_learned, Settings.filter.all].each do |value| %>\n+        <%= label_tag value, class: \"radio-inline\" do %>\n+          <%= radio_button_tag :filter_state, value, \n+            checked = (params[:filter_state] == value || params[:filter_state].blank?) %> \n+          <%= value.titleize %>\n+        <% end %>\n+      <% end %>\n+    </div>\n+  </div>\n+  <br />\n+  <div class=\"tm-submit\">\n+      <%= f.submit t(\"word.filter\"), class: \"btn btn-primary\" %>","path":"app/views/words/_search_form.html.erb","position":21,"original_position":21,"commit_id":"4bd9b52f7752da7f9c8a6b66cefa6036b5aad226","original_commit_id":"4bd9b52f7752da7f9c8a6b66cefa6036b5aad226","user":{"login":"ThuBM","id":5279620,"avatar_url":"https://avatars.githubusercontent.com/u/5279620?v=3","gravatar_id":"","url":"https://api.github.com/users/ThuBM","html_url":"https://github.com/ThuBM","followers_url":"https://api.github.com/users/ThuBM/followers","following_url":"https://api.github.com/users/ThuBM/following{/other_user}","gists_url":"https://api.github.com/users/ThuBM/gists{/gist_id}","starred_url":"https://api.github.com/users/ThuBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThuBM/subscriptions","organizations_url":"https://api.github.com/users/ThuBM/orgs","repos_url":"https://api.github.com/users/ThuBM/repos","events_url":"https://api.github.com/users/ThuBM/events{/privacy}","received_events_url":"https://api.github.com/users/ThuBM/received_events","type":"User","site_admin":false},"body":"indent","created_at":"2015-07-06T03:15:30Z","updated_at":"2015-07-06T03:15:30Z","html_url":"https://github.com/framgia/fels_66/pull/14#discussion_r33903896","pull_request_url":"https://api.github.com/repos/framgia/fels_66/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_66/pulls/comments/33903896"},"html":{"href":"https://github.com/framgia/fels_66/pull/14#discussion_r33903896"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_66/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_66/pulls/14","id":39142436,"html_url":"https://github.com/framgia/fels_66/pull/14","diff_url":"https://github.com/framgia/fels_66/pull/14.diff","patch_url":"https://github.com/framgia/fels_66/pull/14.patch","issue_url":"https://api.github.com/repos/framgia/fels_66/issues/14","number":14,"state":"open","locked":false,"title":"Showing word list","user":{"login":"ttuan","id":10399018,"avatar_url":"https://avatars.githubusercontent.com/u/10399018?v=3","gravatar_id":"","url":"https://api.github.com/users/ttuan","html_url":"https://github.com/ttuan","followers_url":"https://api.github.com/users/ttuan/followers","following_url":"https://api.github.com/users/ttuan/following{/other_user}","gists_url":"https://api.github.com/users/ttuan/gists{/gist_id}","starred_url":"https://api.github.com/users/ttuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttuan/subscriptions","organizations_url":"https://api.github.com/users/ttuan/orgs","repos_url":"https://api.github.com/users/ttuan/repos","events_url":"https://api.github.com/users/ttuan/events{/privacy}","received_events_url":"https://api.github.com/users/ttuan/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-03T02:52:51Z","updated_at":"2015-07-06T03:15:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbdec8b9a1cfbcd3d17134c4cb5ee52629c5d814","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_66/pulls/14/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_66/pulls/14/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_66/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_66/issues/14/comments","statuses_url":"https://api.github.com/repos/framgia/fels_66/statuses/4bd9b52f7752da7f9c8a6b66cefa6036b5aad226","head":{"label":"ttuan:showing-word-list","ref":"showing-word-list","sha":"4bd9b52f7752da7f9c8a6b66cefa6036b5aad226","user":{"login":"ttuan","id":10399018,"avatar_url":"https://avatars.githubusercontent.com/u/10399018?v=3","gravatar_id":"","url":"https://api.github.com/users/ttuan","html_url":"https://github.com/ttuan","followers_url":"https://api.github.com/users/ttuan/followers","following_url":"https://api.github.com/users/ttuan/following{/other_user}","gists_url":"https://api.github.com/users/ttuan/gists{/gist_id}","starred_url":"https://api.github.com/users/ttuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttuan/subscriptions","organizations_url":"https://api.github.com/users/ttuan/orgs","repos_url":"https://api.github.com/users/ttuan/repos","events_url":"https://api.github.com/users/ttuan/events{/privacy}","received_events_url":"https://api.github.com/users/ttuan/received_events","type":"User","site_admin":false},"repo":{"id":38035558,"name":"fels_66","full_name":"ttuan/fels_66","owner":{"login":"ttuan","id":10399018,"avatar_url":"https://avatars.githubusercontent.com/u/10399018?v=3","gravatar_id":"","url":"https://api.github.com/users/ttuan","html_url":"https://github.com/ttuan","followers_url":"https://api.github.com/users/ttuan/followers","following_url":"https://api.github.com/users/ttuan/following{/other_user}","gists_url":"https://api.github.com/users/ttuan/gists{/gist_id}","starred_url":"https://api.github.com/users/ttuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttuan/subscriptions","organizations_url":"https://api.github.com/users/ttuan/orgs","repos_url":"https://api.github.com/users/ttuan/repos","events_url":"https://api.github.com/users/ttuan/events{/privacy}","received_events_url":"https://api.github.com/users/ttuan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ttuan/fels_66","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/ttuan/fels_66","forks_url":"https://api.github.com/repos/ttuan/fels_66/forks","keys_url":"https://api.github.com/repos/ttuan/fels_66/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ttuan/fels_66/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ttuan/fels_66/teams","hooks_url":"https://api.github.com/repos/ttuan/fels_66/hooks","issue_events_url":"https://api.github.com/repos/ttuan/fels_66/issues/events{/number}","events_url":"https://api.github.com/repos/ttuan/fels_66/events","assignees_url":"https://api.github.com/repos/ttuan/fels_66/assignees{/user}","branches_url":"https://api.github.com/repos/ttuan/fels_66/branches{/branch}","tags_url":"https://api.github.com/repos/ttuan/fels_66/tags","blobs_url":"https://api.github.com/repos/ttuan/fels_66/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ttuan/fels_66/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ttuan/fels_66/git/refs{/sha}","trees_url":"https://api.github.com/repos/ttuan/fels_66/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ttuan/fels_66/statuses/{sha}","languages_url":"https://api.github.com/repos/ttuan/fels_66/languages","stargazers_url":"https://api.github.com/repos/ttuan/fels_66/stargazers","contributors_url":"https://api.github.com/repos/ttuan/fels_66/contributors","subscribers_url":"https://api.github.com/repos/ttuan/fels_66/subscribers","subscription_url":"https://api.github.com/repos/ttuan/fels_66/subscription","commits_url":"https://api.github.com/repos/ttuan/fels_66/commits{/sha}","git_commits_url":"https://api.github.com/repos/ttuan/fels_66/git/commits{/sha}","comments_url":"https://api.github.com/repos/ttuan/fels_66/comments{/number}","issue_comment_url":"https://api.github.com/repos/ttuan/fels_66/issues/comments{/number}","contents_url":"https://api.github.com/repos/ttuan/fels_66/contents/{+path}","compare_url":"https://api.github.com/repos/ttuan/fels_66/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ttuan/fels_66/merges","archive_url":"https://api.github.com/repos/ttuan/fels_66/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ttuan/fels_66/downloads","issues_url":"https://api.github.com/repos/ttuan/fels_66/issues{/number}","pulls_url":"https://api.github.com/repos/ttuan/fels_66/pulls{/number}","milestones_url":"https://api.github.com/repos/ttuan/fels_66/milestones{/number}","notifications_url":"https://api.github.com/repos/ttuan/fels_66/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ttuan/fels_66/labels{/name}","releases_url":"https://api.github.com/repos/ttuan/fels_66/releases{/id}","created_at":"2015-06-25T07:45:38Z","updated_at":"2015-06-25T02:12:42Z","pushed_at":"2015-07-06T03:01:04Z","git_url":"git://github.com/ttuan/fels_66.git","ssh_url":"git@github.com:ttuan/fels_66.git","clone_url":"https://github.com/ttuan/fels_66.git","svn_url":"https://github.com/ttuan/fels_66","homepage":null,"size":194,"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":"5cbb4779b242fe973a6e5fac671793d94a4dea07","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":38022560,"name":"fels_66","full_name":"framgia/fels_66","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/fels_66","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_66","forks_url":"https://api.github.com/repos/framgia/fels_66/forks","keys_url":"https://api.github.com/repos/framgia/fels_66/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_66/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_66/teams","hooks_url":"https://api.github.com/repos/framgia/fels_66/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_66/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_66/events","assignees_url":"https://api.github.com/repos/framgia/fels_66/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_66/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_66/tags","blobs_url":"https://api.github.com/repos/framgia/fels_66/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_66/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_66/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_66/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_66/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_66/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_66/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_66/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_66/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_66/subscription","commits_url":"https://api.github.com/repos/framgia/fels_66/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_66/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_66/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_66/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_66/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_66/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_66/merges","archive_url":"https://api.github.com/repos/framgia/fels_66/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_66/downloads","issues_url":"https://api.github.com/repos/framgia/fels_66/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_66/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_66/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_66/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_66/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_66/releases{/id}","created_at":"2015-06-25T02:12:42Z","updated_at":"2015-06-25T02:12:42Z","pushed_at":"2015-07-06T03:01:04Z","git_url":"git://github.com/framgia/fels_66.git","ssh_url":"git@github.com:framgia/fels_66.git","clone_url":"https://github.com/framgia/fels_66.git","svn_url":"https://github.com/framgia/fels_66","homepage":null,"size":357,"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":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_66/pulls/14"},"html":{"href":"https://github.com/framgia/fels_66/pull/14"},"issue":{"href":"https://api.github.com/repos/framgia/fels_66/issues/14"},"comments":{"href":"https://api.github.com/repos/framgia/fels_66/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_66/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_66/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_66/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_66/statuses/4bd9b52f7752da7f9c8a6b66cefa6036b5aad226"}}}}