{"action":"created","comment":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/comments/75181602","id":75181602,"diff_hunk":"@@ -1,11 +1,15 @@\n-<div>\n-  <%= image_tag(image.link, class: 'img_medium_display') %>\n-  <% if image.tag_list.present? %>\n-    <% image.tags.each do |tag| %>\n-      <%= link_to \"#{images_path}?tag=#{tag.name}\" do %>\n-        <%= content_tag(:span, tag.name) %>\n+<div class=\"col-md-4\">\n+  <div class=\"image-card\">\n+    <%= image_tag(image.link, class: 'image-card__image card-img-top') %>\n+    <div class=\"card-block\">\n+    <% if image.tag_list.present? %>\n+      <% image.tags.each do |tag| %>\n+        <%= link_to \"#{images_path}?tag=#{tag.name}\" do %>\n+          <%= content_tag(:span, tag.name, class: 'image-card__tag') %>","path":"app/views/images/_image.html.erb","position":14,"original_position":14,"commit_id":"72dd610bf61bbe454c85919393f0f8a2ec069dc3","original_commit_id":"72dd610bf61bbe454c85919393f0f8a2ec069dc3","user":{"login":"lsq921224","id":2294091,"avatar_url":"https://avatars.githubusercontent.com/u/2294091?v=3","gravatar_id":"","url":"https://api.github.com/users/lsq921224","html_url":"https://github.com/lsq921224","followers_url":"https://api.github.com/users/lsq921224/followers","following_url":"https://api.github.com/users/lsq921224/following{/other_user}","gists_url":"https://api.github.com/users/lsq921224/gists{/gist_id}","starred_url":"https://api.github.com/users/lsq921224/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsq921224/subscriptions","organizations_url":"https://api.github.com/users/lsq921224/orgs","repos_url":"https://api.github.com/users/lsq921224/repos","events_url":"https://api.github.com/users/lsq921224/events{/privacy}","received_events_url":"https://api.github.com/users/lsq921224/received_events","type":"User","site_admin":false},"body":"Can you elaborate on when it is cool to use `content_tag` and when it is cool to use plain HTML?","created_at":"2016-08-17T18:39:44Z","updated_at":"2016-08-17T18:39:44Z","html_url":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224/pull/28#discussion_r75181602","pull_request_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/comments/75181602"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224/pull/28#discussion_r75181602"},"pull_request":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/28","id":80024856,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224/pull/28","diff_url":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224/pull/28.diff","patch_url":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224/pull/28.patch","issue_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/issues/28","number":28,"state":"open","locked":false,"title":"Add style","user":{"login":"lsq921224","id":2294091,"avatar_url":"https://avatars.githubusercontent.com/u/2294091?v=3","gravatar_id":"","url":"https://api.github.com/users/lsq921224","html_url":"https://github.com/lsq921224","followers_url":"https://api.github.com/users/lsq921224/followers","following_url":"https://api.github.com/users/lsq921224/following{/other_user}","gists_url":"https://api.github.com/users/lsq921224/gists{/gist_id}","starred_url":"https://api.github.com/users/lsq921224/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsq921224/subscriptions","organizations_url":"https://api.github.com/users/lsq921224/orgs","repos_url":"https://api.github.com/users/lsq921224/repos","events_url":"https://api.github.com/users/lsq921224/events{/privacy}","received_events_url":"https://api.github.com/users/lsq921224/received_events","type":"User","site_admin":false},"body":"Closes #6 \r\n\r\n\r\n","created_at":"2016-08-04T06:31:16Z","updated_at":"2016-08-17T18:39:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"269775e4fcdf64623735ea7b2e6f88243dbe3104","assignee":{"login":"aaronpanch","id":1779563,"avatar_url":"https://avatars.githubusercontent.com/u/1779563?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronpanch","html_url":"https://github.com/aaronpanch","followers_url":"https://api.github.com/users/aaronpanch/followers","following_url":"https://api.github.com/users/aaronpanch/following{/other_user}","gists_url":"https://api.github.com/users/aaronpanch/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronpanch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronpanch/subscriptions","organizations_url":"https://api.github.com/users/aaronpanch/orgs","repos_url":"https://api.github.com/users/aaronpanch/repos","events_url":"https://api.github.com/users/aaronpanch/events{/privacy}","received_events_url":"https://api.github.com/users/aaronpanch/received_events","type":"User","site_admin":false},"assignees":[{"login":"aaronpanch","id":1779563,"avatar_url":"https://avatars.githubusercontent.com/u/1779563?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronpanch","html_url":"https://github.com/aaronpanch","followers_url":"https://api.github.com/users/aaronpanch/followers","following_url":"https://api.github.com/users/aaronpanch/following{/other_user}","gists_url":"https://api.github.com/users/aaronpanch/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronpanch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronpanch/subscriptions","organizations_url":"https://api.github.com/users/aaronpanch/orgs","repos_url":"https://api.github.com/users/aaronpanch/repos","events_url":"https://api.github.com/users/aaronpanch/events{/privacy}","received_events_url":"https://api.github.com/users/aaronpanch/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/28/commits","review_comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/28/comments","review_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/issues/28/comments","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/statuses/72dd610bf61bbe454c85919393f0f8a2ec069dc3","head":{"label":"AppFolioOnboarding:add_style","ref":"add_style","sha":"72dd610bf61bbe454c85919393f0f8a2ec069dc3","user":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":63720294,"name":"image-sharer-lsq921224","full_name":"AppFolioOnboarding/image-sharer-lsq921224","owner":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224","description":"image-sharer-lsq921224 created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/deployments","created_at":"2016-07-19T18:59:02Z","updated_at":"2016-07-19T18:59:35Z","pushed_at":"2016-08-17T18:31:04Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-lsq921224.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-lsq921224.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224","homepage":null,"size":114,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"AppFolioOnboarding:master","ref":"master","sha":"f6da78ab5c3afb9bfdd975331610488b7fa05cbb","user":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":63720294,"name":"image-sharer-lsq921224","full_name":"AppFolioOnboarding/image-sharer-lsq921224","owner":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224","description":"image-sharer-lsq921224 created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/deployments","created_at":"2016-07-19T18:59:02Z","updated_at":"2016-07-19T18:59:35Z","pushed_at":"2016-08-17T18:31:04Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-lsq921224.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-lsq921224.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224","homepage":null,"size":114,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/28"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-lsq921224/pull/28"},"issue":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/issues/28"},"comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lsq921224/statuses/72dd610bf61bbe454c85919393f0f8a2ec069dc3"}}}}
{"actor":{"display_login":"lsq921224"}}