{"action":"created","comment":{"url":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/comments/34300671","id":34300671,"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|\n+    b.use :html5\n+    b.optional :readonly\n+\n+    b.wrapper tag: 'div', class: 'col-sm-offset-3 col-sm-9' do |wr|\n+      wr.wrapper tag: 'div', class: 'checkbox' do |ba|","path":"config/initializers/simple_form_bootstrap.rb","position":89,"original_position":89,"commit_id":"e96054b3cfc46acb4fc738c1b937fbcf69a505e6","original_commit_id":"e96054b3cfc46acb4fc738c1b937fbcf69a505e6","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-07-09T20:36:25Z","updated_at":"2015-07-09T20:36:25Z","html_url":"https://github.com/bronislav/surnames_navigator/pull/53#discussion_r34300671","pull_request_url":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/comments/34300671"},"html":{"href":"https://github.com/bronislav/surnames_navigator/pull/53#discussion_r34300671"},"pull_request":{"href":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/53","id":39625489,"html_url":"https://github.com/bronislav/surnames_navigator/pull/53","diff_url":"https://github.com/bronislav/surnames_navigator/pull/53.diff","patch_url":"https://github.com/bronislav/surnames_navigator/pull/53.patch","issue_url":"https://api.github.com/repos/bronislav/surnames_navigator/issues/53","number":53,"state":"open","locked":false,"title":"Add form for create new serch request & many changes","user":{"login":"bkmz","id":699744,"avatar_url":"https://avatars.githubusercontent.com/u/699744?v=3","gravatar_id":"","url":"https://api.github.com/users/bkmz","html_url":"https://github.com/bkmz","followers_url":"https://api.github.com/users/bkmz/followers","following_url":"https://api.github.com/users/bkmz/following{/other_user}","gists_url":"https://api.github.com/users/bkmz/gists{/gist_id}","starred_url":"https://api.github.com/users/bkmz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkmz/subscriptions","organizations_url":"https://api.github.com/users/bkmz/orgs","repos_url":"https://api.github.com/users/bkmz/repos","events_url":"https://api.github.com/users/bkmz/events{/privacy}","received_events_url":"https://api.github.com/users/bkmz/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-09T20:36:06Z","updated_at":"2015-07-09T20:36:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d0f72d3983528f829eff6c09ffc8fce447f2565","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/53/commits","review_comments_url":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/53/comments","review_comment_url":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bronislav/surnames_navigator/issues/53/comments","statuses_url":"https://api.github.com/repos/bronislav/surnames_navigator/statuses/e96054b3cfc46acb4fc738c1b937fbcf69a505e6","head":{"label":"bronislav:ii-add-new-request-for-search","ref":"ii-add-new-request-for-search","sha":"e96054b3cfc46acb4fc738c1b937fbcf69a505e6","user":{"login":"bronislav","id":125880,"avatar_url":"https://avatars.githubusercontent.com/u/125880?v=3","gravatar_id":"","url":"https://api.github.com/users/bronislav","html_url":"https://github.com/bronislav","followers_url":"https://api.github.com/users/bronislav/followers","following_url":"https://api.github.com/users/bronislav/following{/other_user}","gists_url":"https://api.github.com/users/bronislav/gists{/gist_id}","starred_url":"https://api.github.com/users/bronislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bronislav/subscriptions","organizations_url":"https://api.github.com/users/bronislav/orgs","repos_url":"https://api.github.com/users/bronislav/repos","events_url":"https://api.github.com/users/bronislav/events{/privacy}","received_events_url":"https://api.github.com/users/bronislav/received_events","type":"User","site_admin":false},"repo":{"id":33669092,"name":"surnames_navigator","full_name":"bronislav/surnames_navigator","owner":{"login":"bronislav","id":125880,"avatar_url":"https://avatars.githubusercontent.com/u/125880?v=3","gravatar_id":"","url":"https://api.github.com/users/bronislav","html_url":"https://github.com/bronislav","followers_url":"https://api.github.com/users/bronislav/followers","following_url":"https://api.github.com/users/bronislav/following{/other_user}","gists_url":"https://api.github.com/users/bronislav/gists{/gist_id}","starred_url":"https://api.github.com/users/bronislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bronislav/subscriptions","organizations_url":"https://api.github.com/users/bronislav/orgs","repos_url":"https://api.github.com/users/bronislav/repos","events_url":"https://api.github.com/users/bronislav/events{/privacy}","received_events_url":"https://api.github.com/users/bronislav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bronislav/surnames_navigator","description":"Revamp of http://wiki.svrt.ru/","fork":false,"url":"https://api.github.com/repos/bronislav/surnames_navigator","forks_url":"https://api.github.com/repos/bronislav/surnames_navigator/forks","keys_url":"https://api.github.com/repos/bronislav/surnames_navigator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bronislav/surnames_navigator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bronislav/surnames_navigator/teams","hooks_url":"https://api.github.com/repos/bronislav/surnames_navigator/hooks","issue_events_url":"https://api.github.com/repos/bronislav/surnames_navigator/issues/events{/number}","events_url":"https://api.github.com/repos/bronislav/surnames_navigator/events","assignees_url":"https://api.github.com/repos/bronislav/surnames_navigator/assignees{/user}","branches_url":"https://api.github.com/repos/bronislav/surnames_navigator/branches{/branch}","tags_url":"https://api.github.com/repos/bronislav/surnames_navigator/tags","blobs_url":"https://api.github.com/repos/bronislav/surnames_navigator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bronislav/surnames_navigator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bronislav/surnames_navigator/git/refs{/sha}","trees_url":"https://api.github.com/repos/bronislav/surnames_navigator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bronislav/surnames_navigator/statuses/{sha}","languages_url":"https://api.github.com/repos/bronislav/surnames_navigator/languages","stargazers_url":"https://api.github.com/repos/bronislav/surnames_navigator/stargazers","contributors_url":"https://api.github.com/repos/bronislav/surnames_navigator/contributors","subscribers_url":"https://api.github.com/repos/bronislav/surnames_navigator/subscribers","subscription_url":"https://api.github.com/repos/bronislav/surnames_navigator/subscription","commits_url":"https://api.github.com/repos/bronislav/surnames_navigator/commits{/sha}","git_commits_url":"https://api.github.com/repos/bronislav/surnames_navigator/git/commits{/sha}","comments_url":"https://api.github.com/repos/bronislav/surnames_navigator/comments{/number}","issue_comment_url":"https://api.github.com/repos/bronislav/surnames_navigator/issues/comments{/number}","contents_url":"https://api.github.com/repos/bronislav/surnames_navigator/contents/{+path}","compare_url":"https://api.github.com/repos/bronislav/surnames_navigator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bronislav/surnames_navigator/merges","archive_url":"https://api.github.com/repos/bronislav/surnames_navigator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bronislav/surnames_navigator/downloads","issues_url":"https://api.github.com/repos/bronislav/surnames_navigator/issues{/number}","pulls_url":"https://api.github.com/repos/bronislav/surnames_navigator/pulls{/number}","milestones_url":"https://api.github.com/repos/bronislav/surnames_navigator/milestones{/number}","notifications_url":"https://api.github.com/repos/bronislav/surnames_navigator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bronislav/surnames_navigator/labels{/name}","releases_url":"https://api.github.com/repos/bronislav/surnames_navigator/releases{/id}","created_at":"2015-04-09T13:03:24Z","updated_at":"2015-05-07T19:43:38Z","pushed_at":"2015-07-09T20:36:07Z","git_url":"git://github.com/bronislav/surnames_navigator.git","ssh_url":"git@github.com:bronislav/surnames_navigator.git","clone_url":"https://github.com/bronislav/surnames_navigator.git","svn_url":"https://github.com/bronislav/surnames_navigator","homepage":"https://boiling-inlet-5599.herokuapp.com/","size":663,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"bronislav:master","ref":"master","sha":"7ef8e24022c3cbf4bbfad990602b7fc455c1e239","user":{"login":"bronislav","id":125880,"avatar_url":"https://avatars.githubusercontent.com/u/125880?v=3","gravatar_id":"","url":"https://api.github.com/users/bronislav","html_url":"https://github.com/bronislav","followers_url":"https://api.github.com/users/bronislav/followers","following_url":"https://api.github.com/users/bronislav/following{/other_user}","gists_url":"https://api.github.com/users/bronislav/gists{/gist_id}","starred_url":"https://api.github.com/users/bronislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bronislav/subscriptions","organizations_url":"https://api.github.com/users/bronislav/orgs","repos_url":"https://api.github.com/users/bronislav/repos","events_url":"https://api.github.com/users/bronislav/events{/privacy}","received_events_url":"https://api.github.com/users/bronislav/received_events","type":"User","site_admin":false},"repo":{"id":33669092,"name":"surnames_navigator","full_name":"bronislav/surnames_navigator","owner":{"login":"bronislav","id":125880,"avatar_url":"https://avatars.githubusercontent.com/u/125880?v=3","gravatar_id":"","url":"https://api.github.com/users/bronislav","html_url":"https://github.com/bronislav","followers_url":"https://api.github.com/users/bronislav/followers","following_url":"https://api.github.com/users/bronislav/following{/other_user}","gists_url":"https://api.github.com/users/bronislav/gists{/gist_id}","starred_url":"https://api.github.com/users/bronislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bronislav/subscriptions","organizations_url":"https://api.github.com/users/bronislav/orgs","repos_url":"https://api.github.com/users/bronislav/repos","events_url":"https://api.github.com/users/bronislav/events{/privacy}","received_events_url":"https://api.github.com/users/bronislav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bronislav/surnames_navigator","description":"Revamp of http://wiki.svrt.ru/","fork":false,"url":"https://api.github.com/repos/bronislav/surnames_navigator","forks_url":"https://api.github.com/repos/bronislav/surnames_navigator/forks","keys_url":"https://api.github.com/repos/bronislav/surnames_navigator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bronislav/surnames_navigator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bronislav/surnames_navigator/teams","hooks_url":"https://api.github.com/repos/bronislav/surnames_navigator/hooks","issue_events_url":"https://api.github.com/repos/bronislav/surnames_navigator/issues/events{/number}","events_url":"https://api.github.com/repos/bronislav/surnames_navigator/events","assignees_url":"https://api.github.com/repos/bronislav/surnames_navigator/assignees{/user}","branches_url":"https://api.github.com/repos/bronislav/surnames_navigator/branches{/branch}","tags_url":"https://api.github.com/repos/bronislav/surnames_navigator/tags","blobs_url":"https://api.github.com/repos/bronislav/surnames_navigator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bronislav/surnames_navigator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bronislav/surnames_navigator/git/refs{/sha}","trees_url":"https://api.github.com/repos/bronislav/surnames_navigator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bronislav/surnames_navigator/statuses/{sha}","languages_url":"https://api.github.com/repos/bronislav/surnames_navigator/languages","stargazers_url":"https://api.github.com/repos/bronislav/surnames_navigator/stargazers","contributors_url":"https://api.github.com/repos/bronislav/surnames_navigator/contributors","subscribers_url":"https://api.github.com/repos/bronislav/surnames_navigator/subscribers","subscription_url":"https://api.github.com/repos/bronislav/surnames_navigator/subscription","commits_url":"https://api.github.com/repos/bronislav/surnames_navigator/commits{/sha}","git_commits_url":"https://api.github.com/repos/bronislav/surnames_navigator/git/commits{/sha}","comments_url":"https://api.github.com/repos/bronislav/surnames_navigator/comments{/number}","issue_comment_url":"https://api.github.com/repos/bronislav/surnames_navigator/issues/comments{/number}","contents_url":"https://api.github.com/repos/bronislav/surnames_navigator/contents/{+path}","compare_url":"https://api.github.com/repos/bronislav/surnames_navigator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bronislav/surnames_navigator/merges","archive_url":"https://api.github.com/repos/bronislav/surnames_navigator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bronislav/surnames_navigator/downloads","issues_url":"https://api.github.com/repos/bronislav/surnames_navigator/issues{/number}","pulls_url":"https://api.github.com/repos/bronislav/surnames_navigator/pulls{/number}","milestones_url":"https://api.github.com/repos/bronislav/surnames_navigator/milestones{/number}","notifications_url":"https://api.github.com/repos/bronislav/surnames_navigator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bronislav/surnames_navigator/labels{/name}","releases_url":"https://api.github.com/repos/bronislav/surnames_navigator/releases{/id}","created_at":"2015-04-09T13:03:24Z","updated_at":"2015-05-07T19:43:38Z","pushed_at":"2015-07-09T20:36:07Z","git_url":"git://github.com/bronislav/surnames_navigator.git","ssh_url":"git@github.com:bronislav/surnames_navigator.git","clone_url":"https://github.com/bronislav/surnames_navigator.git","svn_url":"https://github.com/bronislav/surnames_navigator","homepage":"https://boiling-inlet-5599.herokuapp.com/","size":663,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/53"},"html":{"href":"https://github.com/bronislav/surnames_navigator/pull/53"},"issue":{"href":"https://api.github.com/repos/bronislav/surnames_navigator/issues/53"},"comments":{"href":"https://api.github.com/repos/bronislav/surnames_navigator/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bronislav/surnames_navigator/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/bronislav/surnames_navigator/statuses/e96054b3cfc46acb4fc738c1b937fbcf69a505e6"}}}}