{"action":"created","comment":{"url":"https://api.github.com/repos/admande/sleeptracker/pulls/comments/50598531","id":50598531,"diff_hunk":"@@ -1,14 +1,19 @@\n #sleeplog\n   = simple_form_for @sleeplog, remote: true do |f|\n     .row\n-      %p= f.input :date, as: :date,\n-                    start_year: Time.now.year - 1,\n-                    end_year: Time.now.year,\n-                    start_month: Time.now.month - 1,\n-                    end_month: Time.now.month,\n-                    order: [:month, :day, :year]\n-    .row\n-      %p= f.input :hours, as: :range, min: \"0\", max: \"24\"\n+      .small-2.columns\n+        = f.date_field :date\n+    .row\n+      .small-8.small-centered.columns\n+        .range-slider{\"data-options\" => \"start: 0; end: 16; display_selector: #sliderOutput\", \"data-slider\" => \"\"}\n+          %span.range-slider-handle{:role => \"slider\", :tabindex => \"0\"}\n+          %span.range-slider-active-segment\n+          %input#sleeplog_hours{:name => \"sleeplog[hours]\", :type => \"hidden\"}","path":"app/views/sleeplogs/_form.html.haml","position":19,"original_position":19,"commit_id":"17fce94833848ccbdd43f02c69a302ff1e4c175d","original_commit_id":"17fce94833848ccbdd43f02c69a302ff1e4c175d","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":"Hash attribute should start with one space after the opening brace<br>Hash attribute should end with one space before the closing brace","created_at":"2016-01-22T22:15:24Z","updated_at":"2016-01-22T22:15:24Z","html_url":"https://github.com/admande/sleeptracker/pull/19#discussion_r50598531","pull_request_url":"https://api.github.com/repos/admande/sleeptracker/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/admande/sleeptracker/pulls/comments/50598531"},"html":{"href":"https://github.com/admande/sleeptracker/pull/19#discussion_r50598531"},"pull_request":{"href":"https://api.github.com/repos/admande/sleeptracker/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/admande/sleeptracker/pulls/19","id":56949111,"html_url":"https://github.com/admande/sleeptracker/pull/19","diff_url":"https://github.com/admande/sleeptracker/pull/19.diff","patch_url":"https://github.com/admande/sleeptracker/pull/19.patch","issue_url":"https://api.github.com/repos/admande/sleeptracker/issues/19","number":19,"state":"open","locked":false,"title":"Fix slider","user":{"login":"admande","id":14297220,"avatar_url":"https://avatars.githubusercontent.com/u/14297220?v=3","gravatar_id":"","url":"https://api.github.com/users/admande","html_url":"https://github.com/admande","followers_url":"https://api.github.com/users/admande/followers","following_url":"https://api.github.com/users/admande/following{/other_user}","gists_url":"https://api.github.com/users/admande/gists{/gist_id}","starred_url":"https://api.github.com/users/admande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admande/subscriptions","organizations_url":"https://api.github.com/users/admande/orgs","repos_url":"https://api.github.com/users/admande/repos","events_url":"https://api.github.com/users/admande/events{/privacy}","received_events_url":"https://api.github.com/users/admande/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-22T22:15:03Z","updated_at":"2016-01-22T22:15:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4952b69835fe957a12e5140a2c02d969e4308259","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/admande/sleeptracker/pulls/19/commits","review_comments_url":"https://api.github.com/repos/admande/sleeptracker/pulls/19/comments","review_comment_url":"https://api.github.com/repos/admande/sleeptracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/admande/sleeptracker/issues/19/comments","statuses_url":"https://api.github.com/repos/admande/sleeptracker/statuses/17fce94833848ccbdd43f02c69a302ff1e4c175d","head":{"label":"admande:fix_slider","ref":"fix_slider","sha":"17fce94833848ccbdd43f02c69a302ff1e4c175d","user":{"login":"admande","id":14297220,"avatar_url":"https://avatars.githubusercontent.com/u/14297220?v=3","gravatar_id":"","url":"https://api.github.com/users/admande","html_url":"https://github.com/admande","followers_url":"https://api.github.com/users/admande/followers","following_url":"https://api.github.com/users/admande/following{/other_user}","gists_url":"https://api.github.com/users/admande/gists{/gist_id}","starred_url":"https://api.github.com/users/admande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admande/subscriptions","organizations_url":"https://api.github.com/users/admande/orgs","repos_url":"https://api.github.com/users/admande/repos","events_url":"https://api.github.com/users/admande/events{/privacy}","received_events_url":"https://api.github.com/users/admande/received_events","type":"User","site_admin":false},"repo":{"id":49395183,"name":"sleeptracker","full_name":"admande/sleeptracker","owner":{"login":"admande","id":14297220,"avatar_url":"https://avatars.githubusercontent.com/u/14297220?v=3","gravatar_id":"","url":"https://api.github.com/users/admande","html_url":"https://github.com/admande","followers_url":"https://api.github.com/users/admande/followers","following_url":"https://api.github.com/users/admande/following{/other_user}","gists_url":"https://api.github.com/users/admande/gists{/gist_id}","starred_url":"https://api.github.com/users/admande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admande/subscriptions","organizations_url":"https://api.github.com/users/admande/orgs","repos_url":"https://api.github.com/users/admande/repos","events_url":"https://api.github.com/users/admande/events{/privacy}","received_events_url":"https://api.github.com/users/admande/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/admande/sleeptracker","description":null,"fork":false,"url":"https://api.github.com/repos/admande/sleeptracker","forks_url":"https://api.github.com/repos/admande/sleeptracker/forks","keys_url":"https://api.github.com/repos/admande/sleeptracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/admande/sleeptracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/admande/sleeptracker/teams","hooks_url":"https://api.github.com/repos/admande/sleeptracker/hooks","issue_events_url":"https://api.github.com/repos/admande/sleeptracker/issues/events{/number}","events_url":"https://api.github.com/repos/admande/sleeptracker/events","assignees_url":"https://api.github.com/repos/admande/sleeptracker/assignees{/user}","branches_url":"https://api.github.com/repos/admande/sleeptracker/branches{/branch}","tags_url":"https://api.github.com/repos/admande/sleeptracker/tags","blobs_url":"https://api.github.com/repos/admande/sleeptracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/admande/sleeptracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/admande/sleeptracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/admande/sleeptracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/admande/sleeptracker/statuses/{sha}","languages_url":"https://api.github.com/repos/admande/sleeptracker/languages","stargazers_url":"https://api.github.com/repos/admande/sleeptracker/stargazers","contributors_url":"https://api.github.com/repos/admande/sleeptracker/contributors","subscribers_url":"https://api.github.com/repos/admande/sleeptracker/subscribers","subscription_url":"https://api.github.com/repos/admande/sleeptracker/subscription","commits_url":"https://api.github.com/repos/admande/sleeptracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/admande/sleeptracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/admande/sleeptracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/admande/sleeptracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/admande/sleeptracker/contents/{+path}","compare_url":"https://api.github.com/repos/admande/sleeptracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/admande/sleeptracker/merges","archive_url":"https://api.github.com/repos/admande/sleeptracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/admande/sleeptracker/downloads","issues_url":"https://api.github.com/repos/admande/sleeptracker/issues{/number}","pulls_url":"https://api.github.com/repos/admande/sleeptracker/pulls{/number}","milestones_url":"https://api.github.com/repos/admande/sleeptracker/milestones{/number}","notifications_url":"https://api.github.com/repos/admande/sleeptracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/admande/sleeptracker/labels{/name}","releases_url":"https://api.github.com/repos/admande/sleeptracker/releases{/id}","deployments_url":"https://api.github.com/repos/admande/sleeptracker/deployments","created_at":"2016-01-11T01:48:54Z","updated_at":"2016-01-21T22:16:16Z","pushed_at":"2016-01-22T22:15:04Z","git_url":"git://github.com/admande/sleeptracker.git","ssh_url":"git@github.com:admande/sleeptracker.git","clone_url":"https://github.com/admande/sleeptracker.git","svn_url":"https://github.com/admande/sleeptracker","homepage":null,"size":413,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"admande:master","ref":"master","sha":"6d699fc9fc988b52c3febdac332e52f00cf790b5","user":{"login":"admande","id":14297220,"avatar_url":"https://avatars.githubusercontent.com/u/14297220?v=3","gravatar_id":"","url":"https://api.github.com/users/admande","html_url":"https://github.com/admande","followers_url":"https://api.github.com/users/admande/followers","following_url":"https://api.github.com/users/admande/following{/other_user}","gists_url":"https://api.github.com/users/admande/gists{/gist_id}","starred_url":"https://api.github.com/users/admande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admande/subscriptions","organizations_url":"https://api.github.com/users/admande/orgs","repos_url":"https://api.github.com/users/admande/repos","events_url":"https://api.github.com/users/admande/events{/privacy}","received_events_url":"https://api.github.com/users/admande/received_events","type":"User","site_admin":false},"repo":{"id":49395183,"name":"sleeptracker","full_name":"admande/sleeptracker","owner":{"login":"admande","id":14297220,"avatar_url":"https://avatars.githubusercontent.com/u/14297220?v=3","gravatar_id":"","url":"https://api.github.com/users/admande","html_url":"https://github.com/admande","followers_url":"https://api.github.com/users/admande/followers","following_url":"https://api.github.com/users/admande/following{/other_user}","gists_url":"https://api.github.com/users/admande/gists{/gist_id}","starred_url":"https://api.github.com/users/admande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admande/subscriptions","organizations_url":"https://api.github.com/users/admande/orgs","repos_url":"https://api.github.com/users/admande/repos","events_url":"https://api.github.com/users/admande/events{/privacy}","received_events_url":"https://api.github.com/users/admande/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/admande/sleeptracker","description":null,"fork":false,"url":"https://api.github.com/repos/admande/sleeptracker","forks_url":"https://api.github.com/repos/admande/sleeptracker/forks","keys_url":"https://api.github.com/repos/admande/sleeptracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/admande/sleeptracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/admande/sleeptracker/teams","hooks_url":"https://api.github.com/repos/admande/sleeptracker/hooks","issue_events_url":"https://api.github.com/repos/admande/sleeptracker/issues/events{/number}","events_url":"https://api.github.com/repos/admande/sleeptracker/events","assignees_url":"https://api.github.com/repos/admande/sleeptracker/assignees{/user}","branches_url":"https://api.github.com/repos/admande/sleeptracker/branches{/branch}","tags_url":"https://api.github.com/repos/admande/sleeptracker/tags","blobs_url":"https://api.github.com/repos/admande/sleeptracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/admande/sleeptracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/admande/sleeptracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/admande/sleeptracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/admande/sleeptracker/statuses/{sha}","languages_url":"https://api.github.com/repos/admande/sleeptracker/languages","stargazers_url":"https://api.github.com/repos/admande/sleeptracker/stargazers","contributors_url":"https://api.github.com/repos/admande/sleeptracker/contributors","subscribers_url":"https://api.github.com/repos/admande/sleeptracker/subscribers","subscription_url":"https://api.github.com/repos/admande/sleeptracker/subscription","commits_url":"https://api.github.com/repos/admande/sleeptracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/admande/sleeptracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/admande/sleeptracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/admande/sleeptracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/admande/sleeptracker/contents/{+path}","compare_url":"https://api.github.com/repos/admande/sleeptracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/admande/sleeptracker/merges","archive_url":"https://api.github.com/repos/admande/sleeptracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/admande/sleeptracker/downloads","issues_url":"https://api.github.com/repos/admande/sleeptracker/issues{/number}","pulls_url":"https://api.github.com/repos/admande/sleeptracker/pulls{/number}","milestones_url":"https://api.github.com/repos/admande/sleeptracker/milestones{/number}","notifications_url":"https://api.github.com/repos/admande/sleeptracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/admande/sleeptracker/labels{/name}","releases_url":"https://api.github.com/repos/admande/sleeptracker/releases{/id}","deployments_url":"https://api.github.com/repos/admande/sleeptracker/deployments","created_at":"2016-01-11T01:48:54Z","updated_at":"2016-01-21T22:16:16Z","pushed_at":"2016-01-22T22:15:04Z","git_url":"git://github.com/admande/sleeptracker.git","ssh_url":"git@github.com:admande/sleeptracker.git","clone_url":"https://github.com/admande/sleeptracker.git","svn_url":"https://github.com/admande/sleeptracker","homepage":null,"size":413,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/admande/sleeptracker/pulls/19"},"html":{"href":"https://github.com/admande/sleeptracker/pull/19"},"issue":{"href":"https://api.github.com/repos/admande/sleeptracker/issues/19"},"comments":{"href":"https://api.github.com/repos/admande/sleeptracker/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/admande/sleeptracker/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/admande/sleeptracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/admande/sleeptracker/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/admande/sleeptracker/statuses/17fce94833848ccbdd43f02c69a302ff1e4c175d"}}}}