{"action":"created","comment":{"url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/comments/25937143","id":25937143,"diff_hunk":"@@ -0,0 +1,22 @@\n+<div class=\"col-md-6\">\n+  <% if flash[:error] %>\n+    <div class=\"alert alert-warning\" role=\"alert\">\n+      <%= flash[:error] %>\n+    </div>\n+  <% elsif flash[:success] %>\n+    <div class=\"alert alert-success\" role=\"alert\">\n+      <%= flash[:success] %>\n+    </div>\n+  <% end %>\n+\n+  <% if @card == nil %>","path":"app/views/home/_form.html.erb","position":12,"original_position":12,"commit_id":"95cbaf5e9deadd92e0057665292aac5f566aaceb","original_commit_id":"95cbaf5e9deadd92e0057665292aac5f566aaceb","user":{"login":"Fodoj","id":78866,"avatar_url":"https://avatars.githubusercontent.com/u/78866?v=3","gravatar_id":"","url":"https://api.github.com/users/Fodoj","html_url":"https://github.com/Fodoj","followers_url":"https://api.github.com/users/Fodoj/followers","following_url":"https://api.github.com/users/Fodoj/following{/other_user}","gists_url":"https://api.github.com/users/Fodoj/gists{/gist_id}","starred_url":"https://api.github.com/users/Fodoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fodoj/subscriptions","organizations_url":"https://api.github.com/users/Fodoj/orgs","repos_url":"https://api.github.com/users/Fodoj/repos","events_url":"https://api.github.com/users/Fodoj/events{/privacy}","received_events_url":"https://api.github.com/users/Fodoj/received_events","type":"User","site_admin":false},"body":"нет, значит надо поменять порядок\r\n\r\n```\r\n<% if true %>\r\nформа карточки\r\n<% else %>\r\nкарточек нет\r\n<% end %>\r\n```","created_at":"2015-03-06T10:39:27Z","updated_at":"2015-03-06T10:39:27Z","html_url":"https://github.com/mrvovanness/flashcard/pull/5#discussion_r25937143","pull_request_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/mrvovanness/flashcard/pulls/comments/25937143"},"html":{"href":"https://github.com/mrvovanness/flashcard/pull/5#discussion_r25937143"},"pull_request":{"href":"https://api.github.com/repos/mrvovanness/flashcard/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/5","id":30551421,"html_url":"https://github.com/mrvovanness/flashcard/pull/5","diff_url":"https://github.com/mrvovanness/flashcard/pull/5.diff","patch_url":"https://github.com/mrvovanness/flashcard/pull/5.patch","issue_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/5","number":5,"state":"open","locked":false,"title":"Simple trainer","user":{"login":"mrvovanness","id":10726270,"avatar_url":"https://avatars.githubusercontent.com/u/10726270?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvovanness","html_url":"https://github.com/mrvovanness","followers_url":"https://api.github.com/users/mrvovanness/followers","following_url":"https://api.github.com/users/mrvovanness/following{/other_user}","gists_url":"https://api.github.com/users/mrvovanness/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvovanness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvovanness/subscriptions","organizations_url":"https://api.github.com/users/mrvovanness/orgs","repos_url":"https://api.github.com/users/mrvovanness/repos","events_url":"https://api.github.com/users/mrvovanness/events{/privacy}","received_events_url":"https://api.github.com/users/mrvovanness/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-05T12:04:13Z","updated_at":"2015-03-06T10:39:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7098ad0eec8ba9a2798008037a93cde07e370f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/5/commits","review_comments_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/5/comments","review_comment_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/5/comments","statuses_url":"https://api.github.com/repos/mrvovanness/flashcard/statuses/95cbaf5e9deadd92e0057665292aac5f566aaceb","head":{"label":"mrvovanness:fifth-task","ref":"fifth-task","sha":"95cbaf5e9deadd92e0057665292aac5f566aaceb","user":{"login":"mrvovanness","id":10726270,"avatar_url":"https://avatars.githubusercontent.com/u/10726270?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvovanness","html_url":"https://github.com/mrvovanness","followers_url":"https://api.github.com/users/mrvovanness/followers","following_url":"https://api.github.com/users/mrvovanness/following{/other_user}","gists_url":"https://api.github.com/users/mrvovanness/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvovanness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvovanness/subscriptions","organizations_url":"https://api.github.com/users/mrvovanness/orgs","repos_url":"https://api.github.com/users/mrvovanness/repos","events_url":"https://api.github.com/users/mrvovanness/events{/privacy}","received_events_url":"https://api.github.com/users/mrvovanness/received_events","type":"User","site_admin":false},"repo":{"id":31216808,"name":"flashcard","full_name":"mrvovanness/flashcard","owner":{"login":"mrvovanness","id":10726270,"avatar_url":"https://avatars.githubusercontent.com/u/10726270?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvovanness","html_url":"https://github.com/mrvovanness","followers_url":"https://api.github.com/users/mrvovanness/followers","following_url":"https://api.github.com/users/mrvovanness/following{/other_user}","gists_url":"https://api.github.com/users/mrvovanness/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvovanness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvovanness/subscriptions","organizations_url":"https://api.github.com/users/mrvovanness/orgs","repos_url":"https://api.github.com/users/mrvovanness/repos","events_url":"https://api.github.com/users/mrvovanness/events{/privacy}","received_events_url":"https://api.github.com/users/mrvovanness/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrvovanness/flashcard","description":"","fork":false,"url":"https://api.github.com/repos/mrvovanness/flashcard","forks_url":"https://api.github.com/repos/mrvovanness/flashcard/forks","keys_url":"https://api.github.com/repos/mrvovanness/flashcard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrvovanness/flashcard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrvovanness/flashcard/teams","hooks_url":"https://api.github.com/repos/mrvovanness/flashcard/hooks","issue_events_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/events{/number}","events_url":"https://api.github.com/repos/mrvovanness/flashcard/events","assignees_url":"https://api.github.com/repos/mrvovanness/flashcard/assignees{/user}","branches_url":"https://api.github.com/repos/mrvovanness/flashcard/branches{/branch}","tags_url":"https://api.github.com/repos/mrvovanness/flashcard/tags","blobs_url":"https://api.github.com/repos/mrvovanness/flashcard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrvovanness/flashcard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrvovanness/flashcard/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrvovanness/flashcard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrvovanness/flashcard/statuses/{sha}","languages_url":"https://api.github.com/repos/mrvovanness/flashcard/languages","stargazers_url":"https://api.github.com/repos/mrvovanness/flashcard/stargazers","contributors_url":"https://api.github.com/repos/mrvovanness/flashcard/contributors","subscribers_url":"https://api.github.com/repos/mrvovanness/flashcard/subscribers","subscription_url":"https://api.github.com/repos/mrvovanness/flashcard/subscription","commits_url":"https://api.github.com/repos/mrvovanness/flashcard/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrvovanness/flashcard/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrvovanness/flashcard/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrvovanness/flashcard/contents/{+path}","compare_url":"https://api.github.com/repos/mrvovanness/flashcard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrvovanness/flashcard/merges","archive_url":"https://api.github.com/repos/mrvovanness/flashcard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrvovanness/flashcard/downloads","issues_url":"https://api.github.com/repos/mrvovanness/flashcard/issues{/number}","pulls_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls{/number}","milestones_url":"https://api.github.com/repos/mrvovanness/flashcard/milestones{/number}","notifications_url":"https://api.github.com/repos/mrvovanness/flashcard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrvovanness/flashcard/labels{/name}","releases_url":"https://api.github.com/repos/mrvovanness/flashcard/releases{/id}","created_at":"2015-02-23T16:24:41Z","updated_at":"2015-03-04T07:21:38Z","pushed_at":"2015-03-06T06:36:15Z","git_url":"git://github.com/mrvovanness/flashcard.git","ssh_url":"git@github.com:mrvovanness/flashcard.git","clone_url":"https://github.com/mrvovanness/flashcard.git","svn_url":"https://github.com/mrvovanness/flashcard","homepage":null,"size":288,"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":"mrvovanness:master","ref":"master","sha":"c82f224e6dc03ce1e740c24aa7dfcc27f82bcc57","user":{"login":"mrvovanness","id":10726270,"avatar_url":"https://avatars.githubusercontent.com/u/10726270?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvovanness","html_url":"https://github.com/mrvovanness","followers_url":"https://api.github.com/users/mrvovanness/followers","following_url":"https://api.github.com/users/mrvovanness/following{/other_user}","gists_url":"https://api.github.com/users/mrvovanness/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvovanness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvovanness/subscriptions","organizations_url":"https://api.github.com/users/mrvovanness/orgs","repos_url":"https://api.github.com/users/mrvovanness/repos","events_url":"https://api.github.com/users/mrvovanness/events{/privacy}","received_events_url":"https://api.github.com/users/mrvovanness/received_events","type":"User","site_admin":false},"repo":{"id":31216808,"name":"flashcard","full_name":"mrvovanness/flashcard","owner":{"login":"mrvovanness","id":10726270,"avatar_url":"https://avatars.githubusercontent.com/u/10726270?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvovanness","html_url":"https://github.com/mrvovanness","followers_url":"https://api.github.com/users/mrvovanness/followers","following_url":"https://api.github.com/users/mrvovanness/following{/other_user}","gists_url":"https://api.github.com/users/mrvovanness/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvovanness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvovanness/subscriptions","organizations_url":"https://api.github.com/users/mrvovanness/orgs","repos_url":"https://api.github.com/users/mrvovanness/repos","events_url":"https://api.github.com/users/mrvovanness/events{/privacy}","received_events_url":"https://api.github.com/users/mrvovanness/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrvovanness/flashcard","description":"","fork":false,"url":"https://api.github.com/repos/mrvovanness/flashcard","forks_url":"https://api.github.com/repos/mrvovanness/flashcard/forks","keys_url":"https://api.github.com/repos/mrvovanness/flashcard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrvovanness/flashcard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrvovanness/flashcard/teams","hooks_url":"https://api.github.com/repos/mrvovanness/flashcard/hooks","issue_events_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/events{/number}","events_url":"https://api.github.com/repos/mrvovanness/flashcard/events","assignees_url":"https://api.github.com/repos/mrvovanness/flashcard/assignees{/user}","branches_url":"https://api.github.com/repos/mrvovanness/flashcard/branches{/branch}","tags_url":"https://api.github.com/repos/mrvovanness/flashcard/tags","blobs_url":"https://api.github.com/repos/mrvovanness/flashcard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrvovanness/flashcard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrvovanness/flashcard/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrvovanness/flashcard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrvovanness/flashcard/statuses/{sha}","languages_url":"https://api.github.com/repos/mrvovanness/flashcard/languages","stargazers_url":"https://api.github.com/repos/mrvovanness/flashcard/stargazers","contributors_url":"https://api.github.com/repos/mrvovanness/flashcard/contributors","subscribers_url":"https://api.github.com/repos/mrvovanness/flashcard/subscribers","subscription_url":"https://api.github.com/repos/mrvovanness/flashcard/subscription","commits_url":"https://api.github.com/repos/mrvovanness/flashcard/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrvovanness/flashcard/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrvovanness/flashcard/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrvovanness/flashcard/contents/{+path}","compare_url":"https://api.github.com/repos/mrvovanness/flashcard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrvovanness/flashcard/merges","archive_url":"https://api.github.com/repos/mrvovanness/flashcard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrvovanness/flashcard/downloads","issues_url":"https://api.github.com/repos/mrvovanness/flashcard/issues{/number}","pulls_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls{/number}","milestones_url":"https://api.github.com/repos/mrvovanness/flashcard/milestones{/number}","notifications_url":"https://api.github.com/repos/mrvovanness/flashcard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrvovanness/flashcard/labels{/name}","releases_url":"https://api.github.com/repos/mrvovanness/flashcard/releases{/id}","created_at":"2015-02-23T16:24:41Z","updated_at":"2015-03-04T07:21:38Z","pushed_at":"2015-03-06T06:36:15Z","git_url":"git://github.com/mrvovanness/flashcard.git","ssh_url":"git@github.com:mrvovanness/flashcard.git","clone_url":"https://github.com/mrvovanness/flashcard.git","svn_url":"https://github.com/mrvovanness/flashcard","homepage":null,"size":288,"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/mrvovanness/flashcard/pulls/5"},"html":{"href":"https://github.com/mrvovanness/flashcard/pull/5"},"issue":{"href":"https://api.github.com/repos/mrvovanness/flashcard/issues/5"},"comments":{"href":"https://api.github.com/repos/mrvovanness/flashcard/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/mrvovanness/flashcard/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/mrvovanness/flashcard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mrvovanness/flashcard/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/mrvovanness/flashcard/statuses/95cbaf5e9deadd92e0057665292aac5f566aaceb"}}}}