{"action":"created","comment":{"url":"https://api.github.com/repos/olegtc/flashcards/pulls/comments/36040884","id":36040884,"diff_hunk":"@@ -0,0 +1,136 @@\n+# Use this setup block to configure all options available in SimpleForm.\n+SimpleForm.setup do |config|\n+  config.error_notification_class = 'alert alert-danger'\n+  config.button_class = 'btn btn-default'\n+  config.boolean_label_class = nil\n+\n+  config.wrappers :vertical_form, tag: 'div', class: 'form-group', error_class: 'has-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, class: 'control-label'\n+\n+    b.use :input, class: 'form-control'\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :vertical_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :readonly\n+    b.use :label, class: 'control-label'\n+\n+    b.use :input\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :vertical_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.optional :readonly\n+\n+    b.wrapper tag: 'div', class: 'checkbox' do |ba|\n+      ba.use :label_input\n+    end\n+\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :vertical_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.optional :readonly\n+    b.use :label, class: 'control-label'\n+    b.use :input\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :horizontal_form, tag: 'div', class: 'form-group', error_class: 'has-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, class: 'col-sm-3 control-label'\n+\n+    b.wrapper tag: 'div', class: 'col-sm-9' do |ba|\n+      ba.use :input, class: 'form-control'\n+      ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+      ba.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+    end\n+  end\n+\n+  config.wrappers :horizontal_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :readonly\n+    b.use :label, class: 'col-sm-3 control-label'\n+\n+    b.wrapper tag: 'div', class: 'col-sm-9' do |ba|\n+      ba.use :input\n+      ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+      ba.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+    end\n+  end\n+\n+  config.wrappers :horizontal_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|","path":"config/initializers/simple_form_bootstrap.rb","position":84,"original_position":84,"commit_id":"8fcb55751cab8147e05f8c418832bba03dfb7059","original_commit_id":"8fcb55751cab8147e05f8c418832bba03dfb7059","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":"Line is too long. [103/80]","created_at":"2015-08-02T08:29:47Z","updated_at":"2015-08-02T08:29:47Z","html_url":"https://github.com/olegtc/flashcards/pull/3#discussion_r36040884","pull_request_url":"https://api.github.com/repos/olegtc/flashcards/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/olegtc/flashcards/pulls/comments/36040884"},"html":{"href":"https://github.com/olegtc/flashcards/pull/3#discussion_r36040884"},"pull_request":{"href":"https://api.github.com/repos/olegtc/flashcards/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/olegtc/flashcards/pulls/3","id":41414321,"html_url":"https://github.com/olegtc/flashcards/pull/3","diff_url":"https://github.com/olegtc/flashcards/pull/3.diff","patch_url":"https://github.com/olegtc/flashcards/pull/3.patch","issue_url":"https://api.github.com/repos/olegtc/flashcards/issues/3","number":3,"state":"open","locked":false,"title":"third task is done","user":{"login":"olegtc","id":2966983,"avatar_url":"https://avatars.githubusercontent.com/u/2966983?v=3","gravatar_id":"","url":"https://api.github.com/users/olegtc","html_url":"https://github.com/olegtc","followers_url":"https://api.github.com/users/olegtc/followers","following_url":"https://api.github.com/users/olegtc/following{/other_user}","gists_url":"https://api.github.com/users/olegtc/gists{/gist_id}","starred_url":"https://api.github.com/users/olegtc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegtc/subscriptions","organizations_url":"https://api.github.com/users/olegtc/orgs","repos_url":"https://api.github.com/users/olegtc/repos","events_url":"https://api.github.com/users/olegtc/events{/privacy}","received_events_url":"https://api.github.com/users/olegtc/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-02T08:16:12Z","updated_at":"2015-08-02T08:29:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4cd0288cb193365138435b8802994c9d9ebaa014","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/olegtc/flashcards/pulls/3/commits","review_comments_url":"https://api.github.com/repos/olegtc/flashcards/pulls/3/comments","review_comment_url":"https://api.github.com/repos/olegtc/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/olegtc/flashcards/issues/3/comments","statuses_url":"https://api.github.com/repos/olegtc/flashcards/statuses/8fcb55751cab8147e05f8c418832bba03dfb7059","head":{"label":"olegtc:third-task","ref":"third-task","sha":"8fcb55751cab8147e05f8c418832bba03dfb7059","user":{"login":"olegtc","id":2966983,"avatar_url":"https://avatars.githubusercontent.com/u/2966983?v=3","gravatar_id":"","url":"https://api.github.com/users/olegtc","html_url":"https://github.com/olegtc","followers_url":"https://api.github.com/users/olegtc/followers","following_url":"https://api.github.com/users/olegtc/following{/other_user}","gists_url":"https://api.github.com/users/olegtc/gists{/gist_id}","starred_url":"https://api.github.com/users/olegtc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegtc/subscriptions","organizations_url":"https://api.github.com/users/olegtc/orgs","repos_url":"https://api.github.com/users/olegtc/repos","events_url":"https://api.github.com/users/olegtc/events{/privacy}","received_events_url":"https://api.github.com/users/olegtc/received_events","type":"User","site_admin":false},"repo":{"id":39688739,"name":"flashcards","full_name":"olegtc/flashcards","owner":{"login":"olegtc","id":2966983,"avatar_url":"https://avatars.githubusercontent.com/u/2966983?v=3","gravatar_id":"","url":"https://api.github.com/users/olegtc","html_url":"https://github.com/olegtc","followers_url":"https://api.github.com/users/olegtc/followers","following_url":"https://api.github.com/users/olegtc/following{/other_user}","gists_url":"https://api.github.com/users/olegtc/gists{/gist_id}","starred_url":"https://api.github.com/users/olegtc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegtc/subscriptions","organizations_url":"https://api.github.com/users/olegtc/orgs","repos_url":"https://api.github.com/users/olegtc/repos","events_url":"https://api.github.com/users/olegtc/events{/privacy}","received_events_url":"https://api.github.com/users/olegtc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olegtc/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/olegtc/flashcards","forks_url":"https://api.github.com/repos/olegtc/flashcards/forks","keys_url":"https://api.github.com/repos/olegtc/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olegtc/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olegtc/flashcards/teams","hooks_url":"https://api.github.com/repos/olegtc/flashcards/hooks","issue_events_url":"https://api.github.com/repos/olegtc/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/olegtc/flashcards/events","assignees_url":"https://api.github.com/repos/olegtc/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/olegtc/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/olegtc/flashcards/tags","blobs_url":"https://api.github.com/repos/olegtc/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olegtc/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olegtc/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/olegtc/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olegtc/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/olegtc/flashcards/languages","stargazers_url":"https://api.github.com/repos/olegtc/flashcards/stargazers","contributors_url":"https://api.github.com/repos/olegtc/flashcards/contributors","subscribers_url":"https://api.github.com/repos/olegtc/flashcards/subscribers","subscription_url":"https://api.github.com/repos/olegtc/flashcards/subscription","commits_url":"https://api.github.com/repos/olegtc/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/olegtc/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/olegtc/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/olegtc/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/olegtc/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/olegtc/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olegtc/flashcards/merges","archive_url":"https://api.github.com/repos/olegtc/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olegtc/flashcards/downloads","issues_url":"https://api.github.com/repos/olegtc/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/olegtc/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/olegtc/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/olegtc/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olegtc/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/olegtc/flashcards/releases{/id}","created_at":"2015-07-25T14:26:40Z","updated_at":"2015-07-25T17:16:04Z","pushed_at":"2015-08-02T08:29:41Z","git_url":"git://github.com/olegtc/flashcards.git","ssh_url":"git@github.com:olegtc/flashcards.git","clone_url":"https://github.com/olegtc/flashcards.git","svn_url":"https://github.com/olegtc/flashcards","homepage":null,"size":248,"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":"olegtc:master","ref":"master","sha":"66538be4033851866265337f2e4561fb1efc1ae6","user":{"login":"olegtc","id":2966983,"avatar_url":"https://avatars.githubusercontent.com/u/2966983?v=3","gravatar_id":"","url":"https://api.github.com/users/olegtc","html_url":"https://github.com/olegtc","followers_url":"https://api.github.com/users/olegtc/followers","following_url":"https://api.github.com/users/olegtc/following{/other_user}","gists_url":"https://api.github.com/users/olegtc/gists{/gist_id}","starred_url":"https://api.github.com/users/olegtc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegtc/subscriptions","organizations_url":"https://api.github.com/users/olegtc/orgs","repos_url":"https://api.github.com/users/olegtc/repos","events_url":"https://api.github.com/users/olegtc/events{/privacy}","received_events_url":"https://api.github.com/users/olegtc/received_events","type":"User","site_admin":false},"repo":{"id":39688739,"name":"flashcards","full_name":"olegtc/flashcards","owner":{"login":"olegtc","id":2966983,"avatar_url":"https://avatars.githubusercontent.com/u/2966983?v=3","gravatar_id":"","url":"https://api.github.com/users/olegtc","html_url":"https://github.com/olegtc","followers_url":"https://api.github.com/users/olegtc/followers","following_url":"https://api.github.com/users/olegtc/following{/other_user}","gists_url":"https://api.github.com/users/olegtc/gists{/gist_id}","starred_url":"https://api.github.com/users/olegtc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegtc/subscriptions","organizations_url":"https://api.github.com/users/olegtc/orgs","repos_url":"https://api.github.com/users/olegtc/repos","events_url":"https://api.github.com/users/olegtc/events{/privacy}","received_events_url":"https://api.github.com/users/olegtc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olegtc/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/olegtc/flashcards","forks_url":"https://api.github.com/repos/olegtc/flashcards/forks","keys_url":"https://api.github.com/repos/olegtc/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olegtc/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olegtc/flashcards/teams","hooks_url":"https://api.github.com/repos/olegtc/flashcards/hooks","issue_events_url":"https://api.github.com/repos/olegtc/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/olegtc/flashcards/events","assignees_url":"https://api.github.com/repos/olegtc/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/olegtc/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/olegtc/flashcards/tags","blobs_url":"https://api.github.com/repos/olegtc/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olegtc/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olegtc/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/olegtc/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olegtc/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/olegtc/flashcards/languages","stargazers_url":"https://api.github.com/repos/olegtc/flashcards/stargazers","contributors_url":"https://api.github.com/repos/olegtc/flashcards/contributors","subscribers_url":"https://api.github.com/repos/olegtc/flashcards/subscribers","subscription_url":"https://api.github.com/repos/olegtc/flashcards/subscription","commits_url":"https://api.github.com/repos/olegtc/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/olegtc/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/olegtc/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/olegtc/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/olegtc/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/olegtc/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olegtc/flashcards/merges","archive_url":"https://api.github.com/repos/olegtc/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olegtc/flashcards/downloads","issues_url":"https://api.github.com/repos/olegtc/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/olegtc/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/olegtc/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/olegtc/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olegtc/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/olegtc/flashcards/releases{/id}","created_at":"2015-07-25T14:26:40Z","updated_at":"2015-07-25T17:16:04Z","pushed_at":"2015-08-02T08:29:41Z","git_url":"git://github.com/olegtc/flashcards.git","ssh_url":"git@github.com:olegtc/flashcards.git","clone_url":"https://github.com/olegtc/flashcards.git","svn_url":"https://github.com/olegtc/flashcards","homepage":null,"size":248,"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/olegtc/flashcards/pulls/3"},"html":{"href":"https://github.com/olegtc/flashcards/pull/3"},"issue":{"href":"https://api.github.com/repos/olegtc/flashcards/issues/3"},"comments":{"href":"https://api.github.com/repos/olegtc/flashcards/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/olegtc/flashcards/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/olegtc/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/olegtc/flashcards/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/olegtc/flashcards/statuses/8fcb55751cab8147e05f8c418832bba03dfb7059"}}}}