{"action":"created","comment":{"url":"https://api.github.com/repos/turi-inc/turi/pulls/comments/27862795","id":27862795,"diff_hunk":"@@ -1,22 +1,40 @@\n-<h2>Change your password</h2>\n-\n-<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>\n-  <%= devise_error_messages! %>\n-  <%= f.hidden_field :reset_password_token %>\n+<% content_for :page_title do %>\n+    <i class=\"fa fa-history\"></i> <strong>Reset password</strong>\n+<% end %>\n \n-  <div class=\"field\">\n-    <%= f.label :password, \"New password\" %><br />\n-    <%= f.password_field :password, autofocus: true, autocomplete: \"off\" %>\n+<div class=\"block animation-fadeInQuickInv\">\n+  <div class=\"block-title\">\n+    <div class=\"block-options pull-right\">\n+      <%= link_to new_user_session_path, title: \"Back to login\", class: \"btn btn-effect-ripple btn-primary\", data: {toggle: \"tooltip\", placement: \"left\"} do %>\n+          <i class=\"fa fa-user\"></i>\n+      <% end %>\n+    </div>\n+    <h2>Reset</h2>\n   </div>\n \n-  <div class=\"field\">\n-    <%= f.label :password_confirmation, \"Confirm new password\" %><br />\n-    <%= f.password_field :password_confirmation, autocomplete: \"off\" %>\n-  </div>\n+  <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: {method: :put, class: \"form-horizontal\"}) do |f| %>\n+      <% unless devise_error_messages!.empty? %>\n+          <% flash.now[:error] = devise_error_messages! %>\n+          <%= render 'layouts/messages' %>\n+      <% end %>\n+      <%= f.hidden_field :reset_password_token %>\n \n-  <div class=\"actions\">\n-    <%= f.submit \"Change my password\" %>\n-  </div>\n-<% end %>\n+      <div class=\"form-group\">\n+        <div class=\"col-xs-12\">\n+          <%= f.password_field :password, placeholder: \"New password\", class: \"form-control\", autofocus: true, autocomplete: \"off\" %>\n+        </div>\n+      </div>\n+\n+      <div class=\"form-group\">\n+        <div class=\"col-xs-12\">\n+          <%= f.password_field :password_confirmation, placeholder: \"Confirm new password\", class: \"form-control\", autocomplete: \"off\" %>","path":"app/views/devise/passwords/edit.html.erb","position":46,"original_position":46,"commit_id":"cc334637e04dba576eac461f5bd1beeb2afe1229","original_commit_id":"cc334637e04dba576eac461f5bd1beeb2afe1229","user":{"login":"ritualz","id":8943196,"avatar_url":"https://avatars.githubusercontent.com/u/8943196?v=3","gravatar_id":"","url":"https://api.github.com/users/ritualz","html_url":"https://github.com/ritualz","followers_url":"https://api.github.com/users/ritualz/followers","following_url":"https://api.github.com/users/ritualz/following{/other_user}","gists_url":"https://api.github.com/users/ritualz/gists{/gist_id}","starred_url":"https://api.github.com/users/ritualz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritualz/subscriptions","organizations_url":"https://api.github.com/users/ritualz/orgs","repos_url":"https://api.github.com/users/ritualz/repos","events_url":"https://api.github.com/users/ritualz/events{/privacy}","received_events_url":"https://api.github.com/users/ritualz/received_events","type":"User","site_admin":false},"body":"Translation","created_at":"2015-04-07T09:20:37Z","updated_at":"2015-04-07T09:20:37Z","html_url":"https://github.com/turi-inc/turi/pull/65#discussion_r27862795","pull_request_url":"https://api.github.com/repos/turi-inc/turi/pulls/65","_links":{"self":{"href":"https://api.github.com/repos/turi-inc/turi/pulls/comments/27862795"},"html":{"href":"https://github.com/turi-inc/turi/pull/65#discussion_r27862795"},"pull_request":{"href":"https://api.github.com/repos/turi-inc/turi/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/turi-inc/turi/pulls/65","id":32745111,"html_url":"https://github.com/turi-inc/turi/pull/65","diff_url":"https://github.com/turi-inc/turi/pull/65.diff","patch_url":"https://github.com/turi-inc/turi/pull/65.patch","issue_url":"https://api.github.com/repos/turi-inc/turi/issues/65","number":65,"state":"open","locked":false,"title":"Added forgot email functionality and a discussion forum for the trip","user":{"login":"runarf","id":5859171,"avatar_url":"https://avatars.githubusercontent.com/u/5859171?v=3","gravatar_id":"","url":"https://api.github.com/users/runarf","html_url":"https://github.com/runarf","followers_url":"https://api.github.com/users/runarf/followers","following_url":"https://api.github.com/users/runarf/following{/other_user}","gists_url":"https://api.github.com/users/runarf/gists{/gist_id}","starred_url":"https://api.github.com/users/runarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runarf/subscriptions","organizations_url":"https://api.github.com/users/runarf/orgs","repos_url":"https://api.github.com/users/runarf/repos","events_url":"https://api.github.com/users/runarf/events{/privacy}","received_events_url":"https://api.github.com/users/runarf/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-07T09:01:30Z","updated_at":"2015-04-07T09:20:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5584e0d3320bfe80476d7df33a929268fa71c4eb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/turi-inc/turi/pulls/65/commits","review_comments_url":"https://api.github.com/repos/turi-inc/turi/pulls/65/comments","review_comment_url":"https://api.github.com/repos/turi-inc/turi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/turi-inc/turi/issues/65/comments","statuses_url":"https://api.github.com/repos/turi-inc/turi/statuses/cc334637e04dba576eac461f5bd1beeb2afe1229","head":{"label":"runarf:develop","ref":"develop","sha":"cc334637e04dba576eac461f5bd1beeb2afe1229","user":{"login":"runarf","id":5859171,"avatar_url":"https://avatars.githubusercontent.com/u/5859171?v=3","gravatar_id":"","url":"https://api.github.com/users/runarf","html_url":"https://github.com/runarf","followers_url":"https://api.github.com/users/runarf/followers","following_url":"https://api.github.com/users/runarf/following{/other_user}","gists_url":"https://api.github.com/users/runarf/gists{/gist_id}","starred_url":"https://api.github.com/users/runarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runarf/subscriptions","organizations_url":"https://api.github.com/users/runarf/orgs","repos_url":"https://api.github.com/users/runarf/repos","events_url":"https://api.github.com/users/runarf/events{/privacy}","received_events_url":"https://api.github.com/users/runarf/received_events","type":"User","site_admin":false},"repo":{"id":30529660,"name":"turi-1","full_name":"runarf/turi-1","owner":{"login":"runarf","id":5859171,"avatar_url":"https://avatars.githubusercontent.com/u/5859171?v=3","gravatar_id":"","url":"https://api.github.com/users/runarf","html_url":"https://github.com/runarf","followers_url":"https://api.github.com/users/runarf/followers","following_url":"https://api.github.com/users/runarf/following{/other_user}","gists_url":"https://api.github.com/users/runarf/gists{/gist_id}","starred_url":"https://api.github.com/users/runarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runarf/subscriptions","organizations_url":"https://api.github.com/users/runarf/orgs","repos_url":"https://api.github.com/users/runarf/repos","events_url":"https://api.github.com/users/runarf/events{/privacy}","received_events_url":"https://api.github.com/users/runarf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/runarf/turi-1","description":"Yet another trip planner.","fork":true,"url":"https://api.github.com/repos/runarf/turi-1","forks_url":"https://api.github.com/repos/runarf/turi-1/forks","keys_url":"https://api.github.com/repos/runarf/turi-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runarf/turi-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runarf/turi-1/teams","hooks_url":"https://api.github.com/repos/runarf/turi-1/hooks","issue_events_url":"https://api.github.com/repos/runarf/turi-1/issues/events{/number}","events_url":"https://api.github.com/repos/runarf/turi-1/events","assignees_url":"https://api.github.com/repos/runarf/turi-1/assignees{/user}","branches_url":"https://api.github.com/repos/runarf/turi-1/branches{/branch}","tags_url":"https://api.github.com/repos/runarf/turi-1/tags","blobs_url":"https://api.github.com/repos/runarf/turi-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runarf/turi-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runarf/turi-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/runarf/turi-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runarf/turi-1/statuses/{sha}","languages_url":"https://api.github.com/repos/runarf/turi-1/languages","stargazers_url":"https://api.github.com/repos/runarf/turi-1/stargazers","contributors_url":"https://api.github.com/repos/runarf/turi-1/contributors","subscribers_url":"https://api.github.com/repos/runarf/turi-1/subscribers","subscription_url":"https://api.github.com/repos/runarf/turi-1/subscription","commits_url":"https://api.github.com/repos/runarf/turi-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/runarf/turi-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/runarf/turi-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/runarf/turi-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/runarf/turi-1/contents/{+path}","compare_url":"https://api.github.com/repos/runarf/turi-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runarf/turi-1/merges","archive_url":"https://api.github.com/repos/runarf/turi-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runarf/turi-1/downloads","issues_url":"https://api.github.com/repos/runarf/turi-1/issues{/number}","pulls_url":"https://api.github.com/repos/runarf/turi-1/pulls{/number}","milestones_url":"https://api.github.com/repos/runarf/turi-1/milestones{/number}","notifications_url":"https://api.github.com/repos/runarf/turi-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runarf/turi-1/labels{/name}","releases_url":"https://api.github.com/repos/runarf/turi-1/releases{/id}","created_at":"2015-02-09T10:04:42Z","updated_at":"2015-02-22T15:25:44Z","pushed_at":"2015-04-07T08:56:15Z","git_url":"git://github.com/runarf/turi-1.git","ssh_url":"git@github.com:runarf/turi-1.git","clone_url":"https://github.com/runarf/turi-1.git","svn_url":"https://github.com/runarf/turi-1","homepage":null,"size":14459,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"turi-inc:develop","ref":"develop","sha":"9a815179edda55ffa7ac6525585a427556796730","user":{"login":"turi-inc","id":10848413,"avatar_url":"https://avatars.githubusercontent.com/u/10848413?v=3","gravatar_id":"","url":"https://api.github.com/users/turi-inc","html_url":"https://github.com/turi-inc","followers_url":"https://api.github.com/users/turi-inc/followers","following_url":"https://api.github.com/users/turi-inc/following{/other_user}","gists_url":"https://api.github.com/users/turi-inc/gists{/gist_id}","starred_url":"https://api.github.com/users/turi-inc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turi-inc/subscriptions","organizations_url":"https://api.github.com/users/turi-inc/orgs","repos_url":"https://api.github.com/users/turi-inc/repos","events_url":"https://api.github.com/users/turi-inc/events{/privacy}","received_events_url":"https://api.github.com/users/turi-inc/received_events","type":"Organization","site_admin":false},"repo":{"id":30297765,"name":"turi","full_name":"turi-inc/turi","owner":{"login":"turi-inc","id":10848413,"avatar_url":"https://avatars.githubusercontent.com/u/10848413?v=3","gravatar_id":"","url":"https://api.github.com/users/turi-inc","html_url":"https://github.com/turi-inc","followers_url":"https://api.github.com/users/turi-inc/followers","following_url":"https://api.github.com/users/turi-inc/following{/other_user}","gists_url":"https://api.github.com/users/turi-inc/gists{/gist_id}","starred_url":"https://api.github.com/users/turi-inc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turi-inc/subscriptions","organizations_url":"https://api.github.com/users/turi-inc/orgs","repos_url":"https://api.github.com/users/turi-inc/repos","events_url":"https://api.github.com/users/turi-inc/events{/privacy}","received_events_url":"https://api.github.com/users/turi-inc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turi-inc/turi","description":"Yet another trip planner.","fork":false,"url":"https://api.github.com/repos/turi-inc/turi","forks_url":"https://api.github.com/repos/turi-inc/turi/forks","keys_url":"https://api.github.com/repos/turi-inc/turi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turi-inc/turi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turi-inc/turi/teams","hooks_url":"https://api.github.com/repos/turi-inc/turi/hooks","issue_events_url":"https://api.github.com/repos/turi-inc/turi/issues/events{/number}","events_url":"https://api.github.com/repos/turi-inc/turi/events","assignees_url":"https://api.github.com/repos/turi-inc/turi/assignees{/user}","branches_url":"https://api.github.com/repos/turi-inc/turi/branches{/branch}","tags_url":"https://api.github.com/repos/turi-inc/turi/tags","blobs_url":"https://api.github.com/repos/turi-inc/turi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turi-inc/turi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turi-inc/turi/git/refs{/sha}","trees_url":"https://api.github.com/repos/turi-inc/turi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turi-inc/turi/statuses/{sha}","languages_url":"https://api.github.com/repos/turi-inc/turi/languages","stargazers_url":"https://api.github.com/repos/turi-inc/turi/stargazers","contributors_url":"https://api.github.com/repos/turi-inc/turi/contributors","subscribers_url":"https://api.github.com/repos/turi-inc/turi/subscribers","subscription_url":"https://api.github.com/repos/turi-inc/turi/subscription","commits_url":"https://api.github.com/repos/turi-inc/turi/commits{/sha}","git_commits_url":"https://api.github.com/repos/turi-inc/turi/git/commits{/sha}","comments_url":"https://api.github.com/repos/turi-inc/turi/comments{/number}","issue_comment_url":"https://api.github.com/repos/turi-inc/turi/issues/comments{/number}","contents_url":"https://api.github.com/repos/turi-inc/turi/contents/{+path}","compare_url":"https://api.github.com/repos/turi-inc/turi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turi-inc/turi/merges","archive_url":"https://api.github.com/repos/turi-inc/turi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turi-inc/turi/downloads","issues_url":"https://api.github.com/repos/turi-inc/turi/issues{/number}","pulls_url":"https://api.github.com/repos/turi-inc/turi/pulls{/number}","milestones_url":"https://api.github.com/repos/turi-inc/turi/milestones{/number}","notifications_url":"https://api.github.com/repos/turi-inc/turi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turi-inc/turi/labels{/name}","releases_url":"https://api.github.com/repos/turi-inc/turi/releases{/id}","created_at":"2015-02-04T12:29:50Z","updated_at":"2015-03-31T20:40:04Z","pushed_at":"2015-04-07T09:01:31Z","git_url":"git://github.com/turi-inc/turi.git","ssh_url":"git@github.com:turi-inc/turi.git","clone_url":"https://github.com/turi-inc/turi.git","svn_url":"https://github.com/turi-inc/turi","homepage":null,"size":15956,"stargazers_count":2,"watchers_count":2,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":7,"forks":7,"open_issues":7,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/turi-inc/turi/pulls/65"},"html":{"href":"https://github.com/turi-inc/turi/pull/65"},"issue":{"href":"https://api.github.com/repos/turi-inc/turi/issues/65"},"comments":{"href":"https://api.github.com/repos/turi-inc/turi/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/turi-inc/turi/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/turi-inc/turi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/turi-inc/turi/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/turi-inc/turi/statuses/cc334637e04dba576eac461f5bd1beeb2afe1229"}}}}