{"action":"created","comment":{"url":"https://api.github.com/repos/Hunk13/flashcards/pulls/comments/34188862","id":34188862,"diff_hunk":"@@ -1,20 +1,26 @@\n-<%= form_for(card) do |f| %>\n-  <p>\n-    <%= f.label :original %><br>\n-    <%= f.text_field :original %>\n-  </p>\n- \n-  <p>\n-    <%= f.label :translated %><br>\n-    <%= f.text_field :translated %>\n-  </p>\n+<%= simple_form_for(card) do |f| %>\n+<form class=\"form-inline\">","path":"app/views/cards/_form.html.erb","position":12,"original_position":12,"commit_id":"b11a59ac824c6afe1f3279cf563bb2549dd841b8","original_commit_id":"b11a59ac824c6afe1f3279cf563bb2549dd841b8","user":{"login":"mkdev-mentor-1","id":11962702,"avatar_url":"https://avatars.githubusercontent.com/u/11962702?v=3","gravatar_id":"","url":"https://api.github.com/users/mkdev-mentor-1","html_url":"https://github.com/mkdev-mentor-1","followers_url":"https://api.github.com/users/mkdev-mentor-1/followers","following_url":"https://api.github.com/users/mkdev-mentor-1/following{/other_user}","gists_url":"https://api.github.com/users/mkdev-mentor-1/gists{/gist_id}","starred_url":"https://api.github.com/users/mkdev-mentor-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkdev-mentor-1/subscriptions","organizations_url":"https://api.github.com/users/mkdev-mentor-1/orgs","repos_url":"https://api.github.com/users/mkdev-mentor-1/repos","events_url":"https://api.github.com/users/mkdev-mentor-1/events{/privacy}","received_events_url":"https://api.github.com/users/mkdev-mentor-1/received_events","type":"User","site_admin":false},"body":"не надо делать формы внутри формы.","created_at":"2015-07-08T19:32:56Z","updated_at":"2015-07-08T19:32:56Z","html_url":"https://github.com/Hunk13/flashcards/pull/3#discussion_r34188862","pull_request_url":"https://api.github.com/repos/Hunk13/flashcards/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Hunk13/flashcards/pulls/comments/34188862"},"html":{"href":"https://github.com/Hunk13/flashcards/pull/3#discussion_r34188862"},"pull_request":{"href":"https://api.github.com/repos/Hunk13/flashcards/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Hunk13/flashcards/pulls/3","id":39511891,"html_url":"https://github.com/Hunk13/flashcards/pull/3","diff_url":"https://github.com/Hunk13/flashcards/pull/3.diff","patch_url":"https://github.com/Hunk13/flashcards/pull/3.patch","issue_url":"https://api.github.com/repos/Hunk13/flashcards/issues/3","number":3,"state":"open","locked":false,"title":"third lesson 1","user":{"login":"Hunk13","id":2353427,"avatar_url":"https://avatars.githubusercontent.com/u/2353427?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunk13","html_url":"https://github.com/Hunk13","followers_url":"https://api.github.com/users/Hunk13/followers","following_url":"https://api.github.com/users/Hunk13/following{/other_user}","gists_url":"https://api.github.com/users/Hunk13/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunk13/subscriptions","organizations_url":"https://api.github.com/users/Hunk13/orgs","repos_url":"https://api.github.com/users/Hunk13/repos","events_url":"https://api.github.com/users/Hunk13/events{/privacy}","received_events_url":"https://api.github.com/users/Hunk13/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-08T19:08:08Z","updated_at":"2015-07-08T19:32:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71cf6eafd08ee7fc533742498010eda1309f9300","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Hunk13/flashcards/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Hunk13/flashcards/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Hunk13/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hunk13/flashcards/issues/3/comments","statuses_url":"https://api.github.com/repos/Hunk13/flashcards/statuses/b11a59ac824c6afe1f3279cf563bb2549dd841b8","head":{"label":"Hunk13:third-lesson","ref":"third-lesson","sha":"b11a59ac824c6afe1f3279cf563bb2549dd841b8","user":{"login":"Hunk13","id":2353427,"avatar_url":"https://avatars.githubusercontent.com/u/2353427?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunk13","html_url":"https://github.com/Hunk13","followers_url":"https://api.github.com/users/Hunk13/followers","following_url":"https://api.github.com/users/Hunk13/following{/other_user}","gists_url":"https://api.github.com/users/Hunk13/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunk13/subscriptions","organizations_url":"https://api.github.com/users/Hunk13/orgs","repos_url":"https://api.github.com/users/Hunk13/repos","events_url":"https://api.github.com/users/Hunk13/events{/privacy}","received_events_url":"https://api.github.com/users/Hunk13/received_events","type":"User","site_admin":false},"repo":{"id":38364862,"name":"flashcards","full_name":"Hunk13/flashcards","owner":{"login":"Hunk13","id":2353427,"avatar_url":"https://avatars.githubusercontent.com/u/2353427?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunk13","html_url":"https://github.com/Hunk13","followers_url":"https://api.github.com/users/Hunk13/followers","following_url":"https://api.github.com/users/Hunk13/following{/other_user}","gists_url":"https://api.github.com/users/Hunk13/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunk13/subscriptions","organizations_url":"https://api.github.com/users/Hunk13/orgs","repos_url":"https://api.github.com/users/Hunk13/repos","events_url":"https://api.github.com/users/Hunk13/events{/privacy}","received_events_url":"https://api.github.com/users/Hunk13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hunk13/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/Hunk13/flashcards","forks_url":"https://api.github.com/repos/Hunk13/flashcards/forks","keys_url":"https://api.github.com/repos/Hunk13/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hunk13/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hunk13/flashcards/teams","hooks_url":"https://api.github.com/repos/Hunk13/flashcards/hooks","issue_events_url":"https://api.github.com/repos/Hunk13/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Hunk13/flashcards/events","assignees_url":"https://api.github.com/repos/Hunk13/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Hunk13/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Hunk13/flashcards/tags","blobs_url":"https://api.github.com/repos/Hunk13/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hunk13/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hunk13/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hunk13/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hunk13/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Hunk13/flashcards/languages","stargazers_url":"https://api.github.com/repos/Hunk13/flashcards/stargazers","contributors_url":"https://api.github.com/repos/Hunk13/flashcards/contributors","subscribers_url":"https://api.github.com/repos/Hunk13/flashcards/subscribers","subscription_url":"https://api.github.com/repos/Hunk13/flashcards/subscription","commits_url":"https://api.github.com/repos/Hunk13/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hunk13/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hunk13/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hunk13/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hunk13/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Hunk13/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hunk13/flashcards/merges","archive_url":"https://api.github.com/repos/Hunk13/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hunk13/flashcards/downloads","issues_url":"https://api.github.com/repos/Hunk13/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Hunk13/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Hunk13/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Hunk13/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hunk13/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Hunk13/flashcards/releases{/id}","created_at":"2015-07-01T10:22:56Z","updated_at":"2015-07-01T10:41:09Z","pushed_at":"2015-07-08T19:08:10Z","git_url":"git://github.com/Hunk13/flashcards.git","ssh_url":"git@github.com:Hunk13/flashcards.git","clone_url":"https://github.com/Hunk13/flashcards.git","svn_url":"https://github.com/Hunk13/flashcards","homepage":null,"size":368,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Hunk13:master","ref":"master","sha":"82bff42f1acda4719496aca3463329d2a761c5c1","user":{"login":"Hunk13","id":2353427,"avatar_url":"https://avatars.githubusercontent.com/u/2353427?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunk13","html_url":"https://github.com/Hunk13","followers_url":"https://api.github.com/users/Hunk13/followers","following_url":"https://api.github.com/users/Hunk13/following{/other_user}","gists_url":"https://api.github.com/users/Hunk13/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunk13/subscriptions","organizations_url":"https://api.github.com/users/Hunk13/orgs","repos_url":"https://api.github.com/users/Hunk13/repos","events_url":"https://api.github.com/users/Hunk13/events{/privacy}","received_events_url":"https://api.github.com/users/Hunk13/received_events","type":"User","site_admin":false},"repo":{"id":38364862,"name":"flashcards","full_name":"Hunk13/flashcards","owner":{"login":"Hunk13","id":2353427,"avatar_url":"https://avatars.githubusercontent.com/u/2353427?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunk13","html_url":"https://github.com/Hunk13","followers_url":"https://api.github.com/users/Hunk13/followers","following_url":"https://api.github.com/users/Hunk13/following{/other_user}","gists_url":"https://api.github.com/users/Hunk13/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunk13/subscriptions","organizations_url":"https://api.github.com/users/Hunk13/orgs","repos_url":"https://api.github.com/users/Hunk13/repos","events_url":"https://api.github.com/users/Hunk13/events{/privacy}","received_events_url":"https://api.github.com/users/Hunk13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hunk13/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/Hunk13/flashcards","forks_url":"https://api.github.com/repos/Hunk13/flashcards/forks","keys_url":"https://api.github.com/repos/Hunk13/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hunk13/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hunk13/flashcards/teams","hooks_url":"https://api.github.com/repos/Hunk13/flashcards/hooks","issue_events_url":"https://api.github.com/repos/Hunk13/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Hunk13/flashcards/events","assignees_url":"https://api.github.com/repos/Hunk13/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Hunk13/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Hunk13/flashcards/tags","blobs_url":"https://api.github.com/repos/Hunk13/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hunk13/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hunk13/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hunk13/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hunk13/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Hunk13/flashcards/languages","stargazers_url":"https://api.github.com/repos/Hunk13/flashcards/stargazers","contributors_url":"https://api.github.com/repos/Hunk13/flashcards/contributors","subscribers_url":"https://api.github.com/repos/Hunk13/flashcards/subscribers","subscription_url":"https://api.github.com/repos/Hunk13/flashcards/subscription","commits_url":"https://api.github.com/repos/Hunk13/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hunk13/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hunk13/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hunk13/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hunk13/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Hunk13/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hunk13/flashcards/merges","archive_url":"https://api.github.com/repos/Hunk13/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hunk13/flashcards/downloads","issues_url":"https://api.github.com/repos/Hunk13/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Hunk13/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Hunk13/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Hunk13/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hunk13/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Hunk13/flashcards/releases{/id}","created_at":"2015-07-01T10:22:56Z","updated_at":"2015-07-01T10:41:09Z","pushed_at":"2015-07-08T19:08:10Z","git_url":"git://github.com/Hunk13/flashcards.git","ssh_url":"git@github.com:Hunk13/flashcards.git","clone_url":"https://github.com/Hunk13/flashcards.git","svn_url":"https://github.com/Hunk13/flashcards","homepage":null,"size":368,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hunk13/flashcards/pulls/3"},"html":{"href":"https://github.com/Hunk13/flashcards/pull/3"},"issue":{"href":"https://api.github.com/repos/Hunk13/flashcards/issues/3"},"comments":{"href":"https://api.github.com/repos/Hunk13/flashcards/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Hunk13/flashcards/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Hunk13/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hunk13/flashcards/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Hunk13/flashcards/statuses/b11a59ac824c6afe1f3279cf563bb2549dd841b8"}}}}