{"action":"created","comment":{"url":"https://api.github.com/repos/hailexiao/metayelp/pulls/comments/40464295","id":40464295,"diff_hunk":"@@ -0,0 +1,109 @@\n+# Use this setup block to configure all options available in SimpleForm.\n+SimpleForm.setup do |config|\n+  # Don't forget to edit this file to adapt it to your needs (specially\n+  # all the grid-related classes)\n+  #\n+  # Please note that hints are commented out by default since Foundation\n+  # does't provide styles for hints. You will need to provide your own CSS styles for hints.\n+  # Uncomment them to enable hints.\n+\n+  config.wrappers :vertical_form, class: :input, hint_class: :field_with_hint,\n+                   error_class: :error do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :pattern\n+    b.optional :min_max\n+    b.optional :readonly\n+    b.use :label_input\n+    b.use :error, wrap_with: { tag: :small, class: :error }\n+\n+  # b.use :hint,  wrap_with: { tag: :span, class: :hint }\n+  end\n+\n+  config.wrappers :horizontal_form, tag: 'div', class: 'row',\n+                  hint_class: :field_with_hint, error_class: :error do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :pattern\n+    b.optional :min_max\n+    b.optional :readonly\n+\n+    b.wrapper :label_wrapper, tag: :div, class: 'small-3 columns' do |ba|\n+      ba.use :label, class: 'right inline'\n+    end\n+\n+    b.wrapper :right_input_wrapper, tag: :div, class: 'small-9 columns' do |ba|\n+      ba.use :input\n+      ba.use :error, wrap_with: { tag: :small, class: :error }\n+    # ba.use :hint,  wrap_with: { tag: :span, class: :hint }\n+    end\n+  end\n+\n+  config.wrappers :horizontal_radio_and_checkboxes, tag: 'div',\n+    class: 'row' do |b|\n+    b.use :html5\n+    b.optional :readonly\n+\n+    b.wrapper :container_wrapper, tag: 'div', class:\n+      'small-offset-3 small-9 columns' do |ba|\n+      ba.wrapper tag: 'label', class: 'checkbox' do |bb|\n+        bb.use :input\n+        bb.use :label_text\n+      end\n+\n+      ba.use :error, wrap_with: { tag: :small, class: :error }\n+    # ba.use :hint,  wrap_with: { tag: :span, class: :hint }\n+    end\n+  end\n+\n+  # Foundation does not provide a way to handle inline forms\n+  # This wrapper can be used to create an inline form\n+  # by hiding that labels on every screen sizes ('hidden-for-small-up').\n+  #\n+  # Note that you need to adapt this wrapper to your needs. If you need a 4\n+  # columns form then change the wrapper class to 'small-3', if you need\n+  # only two use 'small-6' and so on.\n+  config.wrappers :inline_form, tag: 'div', class: 'column small-4',\n+                  hint_class: :field_with_hint, error_class: :error do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :pattern\n+    b.optional :min_max\n+    b.optional :readonly\n+\n+    b.use :label, class: 'hidden-for-small-up'\n+    b.use :input\n+\n+    b.use :error, wrap_with: { tag: :small, class: :error }\n+  # b.use :hint,  wrap_with: { tag: :span, class: :hint }","path":"config/initializers/simple_form_foundation.rb","position":81,"original_position":81,"commit_id":"9d48b05c512165bf53f5c60c0e600ccc0fb67c21","original_commit_id":"9d48b05c512165bf53f5c60c0e600ccc0fb67c21","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Incorrect indentation detected (column 2 instead of 4).","created_at":"2015-09-25T18:58:24Z","updated_at":"2015-09-25T18:58:24Z","html_url":"https://github.com/hailexiao/metayelp/pull/13#discussion_r40464295","pull_request_url":"https://api.github.com/repos/hailexiao/metayelp/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/hailexiao/metayelp/pulls/comments/40464295"},"html":{"href":"https://github.com/hailexiao/metayelp/pull/13#discussion_r40464295"},"pull_request":{"href":"https://api.github.com/repos/hailexiao/metayelp/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/hailexiao/metayelp/pulls/13","id":46044395,"html_url":"https://github.com/hailexiao/metayelp/pull/13","diff_url":"https://github.com/hailexiao/metayelp/pull/13.diff","patch_url":"https://github.com/hailexiao/metayelp/pull/13.patch","issue_url":"https://api.github.com/repos/hailexiao/metayelp/issues/13","number":13,"state":"open","locked":false,"title":"Yelpers search","user":{"login":"hailexiao","id":10236227,"avatar_url":"https://avatars.githubusercontent.com/u/10236227?v=3","gravatar_id":"","url":"https://api.github.com/users/hailexiao","html_url":"https://github.com/hailexiao","followers_url":"https://api.github.com/users/hailexiao/followers","following_url":"https://api.github.com/users/hailexiao/following{/other_user}","gists_url":"https://api.github.com/users/hailexiao/gists{/gist_id}","starred_url":"https://api.github.com/users/hailexiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hailexiao/subscriptions","organizations_url":"https://api.github.com/users/hailexiao/orgs","repos_url":"https://api.github.com/users/hailexiao/repos","events_url":"https://api.github.com/users/hailexiao/events{/privacy}","received_events_url":"https://api.github.com/users/hailexiao/received_events","type":"User","site_admin":false},"body":"Add the ability for users to search for Yelpers by name.","created_at":"2015-09-25T18:44:41Z","updated_at":"2015-09-25T18:58:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48aaab77d610b42c20909424e9e72607945db40c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hailexiao/metayelp/pulls/13/commits","review_comments_url":"https://api.github.com/repos/hailexiao/metayelp/pulls/13/comments","review_comment_url":"https://api.github.com/repos/hailexiao/metayelp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hailexiao/metayelp/issues/13/comments","statuses_url":"https://api.github.com/repos/hailexiao/metayelp/statuses/9d48b05c512165bf53f5c60c0e600ccc0fb67c21","head":{"label":"hailexiao:yelpers-search","ref":"yelpers-search","sha":"9d48b05c512165bf53f5c60c0e600ccc0fb67c21","user":{"login":"hailexiao","id":10236227,"avatar_url":"https://avatars.githubusercontent.com/u/10236227?v=3","gravatar_id":"","url":"https://api.github.com/users/hailexiao","html_url":"https://github.com/hailexiao","followers_url":"https://api.github.com/users/hailexiao/followers","following_url":"https://api.github.com/users/hailexiao/following{/other_user}","gists_url":"https://api.github.com/users/hailexiao/gists{/gist_id}","starred_url":"https://api.github.com/users/hailexiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hailexiao/subscriptions","organizations_url":"https://api.github.com/users/hailexiao/orgs","repos_url":"https://api.github.com/users/hailexiao/repos","events_url":"https://api.github.com/users/hailexiao/events{/privacy}","received_events_url":"https://api.github.com/users/hailexiao/received_events","type":"User","site_admin":false},"repo":{"id":42876313,"name":"metayelp","full_name":"hailexiao/metayelp","owner":{"login":"hailexiao","id":10236227,"avatar_url":"https://avatars.githubusercontent.com/u/10236227?v=3","gravatar_id":"","url":"https://api.github.com/users/hailexiao","html_url":"https://github.com/hailexiao","followers_url":"https://api.github.com/users/hailexiao/followers","following_url":"https://api.github.com/users/hailexiao/following{/other_user}","gists_url":"https://api.github.com/users/hailexiao/gists{/gist_id}","starred_url":"https://api.github.com/users/hailexiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hailexiao/subscriptions","organizations_url":"https://api.github.com/users/hailexiao/orgs","repos_url":"https://api.github.com/users/hailexiao/repos","events_url":"https://api.github.com/users/hailexiao/events{/privacy}","received_events_url":"https://api.github.com/users/hailexiao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hailexiao/metayelp","description":"A web application for reviewing Yelpers","fork":false,"url":"https://api.github.com/repos/hailexiao/metayelp","forks_url":"https://api.github.com/repos/hailexiao/metayelp/forks","keys_url":"https://api.github.com/repos/hailexiao/metayelp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hailexiao/metayelp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hailexiao/metayelp/teams","hooks_url":"https://api.github.com/repos/hailexiao/metayelp/hooks","issue_events_url":"https://api.github.com/repos/hailexiao/metayelp/issues/events{/number}","events_url":"https://api.github.com/repos/hailexiao/metayelp/events","assignees_url":"https://api.github.com/repos/hailexiao/metayelp/assignees{/user}","branches_url":"https://api.github.com/repos/hailexiao/metayelp/branches{/branch}","tags_url":"https://api.github.com/repos/hailexiao/metayelp/tags","blobs_url":"https://api.github.com/repos/hailexiao/metayelp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hailexiao/metayelp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hailexiao/metayelp/git/refs{/sha}","trees_url":"https://api.github.com/repos/hailexiao/metayelp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hailexiao/metayelp/statuses/{sha}","languages_url":"https://api.github.com/repos/hailexiao/metayelp/languages","stargazers_url":"https://api.github.com/repos/hailexiao/metayelp/stargazers","contributors_url":"https://api.github.com/repos/hailexiao/metayelp/contributors","subscribers_url":"https://api.github.com/repos/hailexiao/metayelp/subscribers","subscription_url":"https://api.github.com/repos/hailexiao/metayelp/subscription","commits_url":"https://api.github.com/repos/hailexiao/metayelp/commits{/sha}","git_commits_url":"https://api.github.com/repos/hailexiao/metayelp/git/commits{/sha}","comments_url":"https://api.github.com/repos/hailexiao/metayelp/comments{/number}","issue_comment_url":"https://api.github.com/repos/hailexiao/metayelp/issues/comments{/number}","contents_url":"https://api.github.com/repos/hailexiao/metayelp/contents/{+path}","compare_url":"https://api.github.com/repos/hailexiao/metayelp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hailexiao/metayelp/merges","archive_url":"https://api.github.com/repos/hailexiao/metayelp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hailexiao/metayelp/downloads","issues_url":"https://api.github.com/repos/hailexiao/metayelp/issues{/number}","pulls_url":"https://api.github.com/repos/hailexiao/metayelp/pulls{/number}","milestones_url":"https://api.github.com/repos/hailexiao/metayelp/milestones{/number}","notifications_url":"https://api.github.com/repos/hailexiao/metayelp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hailexiao/metayelp/labels{/name}","releases_url":"https://api.github.com/repos/hailexiao/metayelp/releases{/id}","created_at":"2015-09-21T15:47:45Z","updated_at":"2015-09-23T18:55:38Z","pushed_at":"2015-09-25T18:58:19Z","git_url":"git://github.com/hailexiao/metayelp.git","ssh_url":"git@github.com:hailexiao/metayelp.git","clone_url":"https://github.com/hailexiao/metayelp.git","svn_url":"https://github.com/hailexiao/metayelp","homepage":null,"size":788,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"hailexiao:master","ref":"master","sha":"4710b156e1afe3ce68b985fb2c5670052d90e889","user":{"login":"hailexiao","id":10236227,"avatar_url":"https://avatars.githubusercontent.com/u/10236227?v=3","gravatar_id":"","url":"https://api.github.com/users/hailexiao","html_url":"https://github.com/hailexiao","followers_url":"https://api.github.com/users/hailexiao/followers","following_url":"https://api.github.com/users/hailexiao/following{/other_user}","gists_url":"https://api.github.com/users/hailexiao/gists{/gist_id}","starred_url":"https://api.github.com/users/hailexiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hailexiao/subscriptions","organizations_url":"https://api.github.com/users/hailexiao/orgs","repos_url":"https://api.github.com/users/hailexiao/repos","events_url":"https://api.github.com/users/hailexiao/events{/privacy}","received_events_url":"https://api.github.com/users/hailexiao/received_events","type":"User","site_admin":false},"repo":{"id":42876313,"name":"metayelp","full_name":"hailexiao/metayelp","owner":{"login":"hailexiao","id":10236227,"avatar_url":"https://avatars.githubusercontent.com/u/10236227?v=3","gravatar_id":"","url":"https://api.github.com/users/hailexiao","html_url":"https://github.com/hailexiao","followers_url":"https://api.github.com/users/hailexiao/followers","following_url":"https://api.github.com/users/hailexiao/following{/other_user}","gists_url":"https://api.github.com/users/hailexiao/gists{/gist_id}","starred_url":"https://api.github.com/users/hailexiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hailexiao/subscriptions","organizations_url":"https://api.github.com/users/hailexiao/orgs","repos_url":"https://api.github.com/users/hailexiao/repos","events_url":"https://api.github.com/users/hailexiao/events{/privacy}","received_events_url":"https://api.github.com/users/hailexiao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hailexiao/metayelp","description":"A web application for reviewing Yelpers","fork":false,"url":"https://api.github.com/repos/hailexiao/metayelp","forks_url":"https://api.github.com/repos/hailexiao/metayelp/forks","keys_url":"https://api.github.com/repos/hailexiao/metayelp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hailexiao/metayelp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hailexiao/metayelp/teams","hooks_url":"https://api.github.com/repos/hailexiao/metayelp/hooks","issue_events_url":"https://api.github.com/repos/hailexiao/metayelp/issues/events{/number}","events_url":"https://api.github.com/repos/hailexiao/metayelp/events","assignees_url":"https://api.github.com/repos/hailexiao/metayelp/assignees{/user}","branches_url":"https://api.github.com/repos/hailexiao/metayelp/branches{/branch}","tags_url":"https://api.github.com/repos/hailexiao/metayelp/tags","blobs_url":"https://api.github.com/repos/hailexiao/metayelp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hailexiao/metayelp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hailexiao/metayelp/git/refs{/sha}","trees_url":"https://api.github.com/repos/hailexiao/metayelp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hailexiao/metayelp/statuses/{sha}","languages_url":"https://api.github.com/repos/hailexiao/metayelp/languages","stargazers_url":"https://api.github.com/repos/hailexiao/metayelp/stargazers","contributors_url":"https://api.github.com/repos/hailexiao/metayelp/contributors","subscribers_url":"https://api.github.com/repos/hailexiao/metayelp/subscribers","subscription_url":"https://api.github.com/repos/hailexiao/metayelp/subscription","commits_url":"https://api.github.com/repos/hailexiao/metayelp/commits{/sha}","git_commits_url":"https://api.github.com/repos/hailexiao/metayelp/git/commits{/sha}","comments_url":"https://api.github.com/repos/hailexiao/metayelp/comments{/number}","issue_comment_url":"https://api.github.com/repos/hailexiao/metayelp/issues/comments{/number}","contents_url":"https://api.github.com/repos/hailexiao/metayelp/contents/{+path}","compare_url":"https://api.github.com/repos/hailexiao/metayelp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hailexiao/metayelp/merges","archive_url":"https://api.github.com/repos/hailexiao/metayelp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hailexiao/metayelp/downloads","issues_url":"https://api.github.com/repos/hailexiao/metayelp/issues{/number}","pulls_url":"https://api.github.com/repos/hailexiao/metayelp/pulls{/number}","milestones_url":"https://api.github.com/repos/hailexiao/metayelp/milestones{/number}","notifications_url":"https://api.github.com/repos/hailexiao/metayelp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hailexiao/metayelp/labels{/name}","releases_url":"https://api.github.com/repos/hailexiao/metayelp/releases{/id}","created_at":"2015-09-21T15:47:45Z","updated_at":"2015-09-23T18:55:38Z","pushed_at":"2015-09-25T18:58:19Z","git_url":"git://github.com/hailexiao/metayelp.git","ssh_url":"git@github.com:hailexiao/metayelp.git","clone_url":"https://github.com/hailexiao/metayelp.git","svn_url":"https://github.com/hailexiao/metayelp","homepage":null,"size":788,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hailexiao/metayelp/pulls/13"},"html":{"href":"https://github.com/hailexiao/metayelp/pull/13"},"issue":{"href":"https://api.github.com/repos/hailexiao/metayelp/issues/13"},"comments":{"href":"https://api.github.com/repos/hailexiao/metayelp/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/hailexiao/metayelp/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/hailexiao/metayelp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hailexiao/metayelp/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/hailexiao/metayelp/statuses/9d48b05c512165bf53f5c60c0e600ccc0fb67c21"}}}}