{"action":"created","comment":{"url":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/comments/178472742","pull_request_review_id":108532912,"id":178472742,"diff_hunk":"@@ -0,0 +1,20 @@\n+mixin accountForm(admin = {}, action = '')\n+  div(class='grid-container')\n+    - if(action === 'register'){var actionURL = 'register'} else {var actionURL = 'account/edit'}\n+    form(class='grid-x grid-margin-x' action=`/admin/${actionURL}` method=\"POST\")\n+      div(class='cell small-12 medium-6 large-6')\n+        label(for=\"name\") First name\n+        input(type=\"text\" name=\"firstName\" value=(admin.firstName) required)\n+      div(class='cell small-12 medium-6 large-6')\n+        label(for=\"name\") Last Name\n+        input(type=\"text\" name=\"lastName\" value=(admin.lastName) required)\n+      div(class='cell')\n+        label(for=\"email\") Email\n+        input(type=\"email\" name=\"email\" value=(admin.email) required)\n+        - var action = action || 'test'\n+        if(action === 'register')","path":"views/mixins/_accountForm.pug","position":15,"original_position":15,"commit_id":"d4f6325a37d1d6ff9af4ca86835b4854775ec077","original_commit_id":"d4f6325a37d1d6ff9af4ca86835b4854775ec077","user":{"login":"andrewmcgov","id":14366097,"avatar_url":"https://avatars3.githubusercontent.com/u/14366097?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewmcgov","html_url":"https://github.com/andrewmcgov","followers_url":"https://api.github.com/users/andrewmcgov/followers","following_url":"https://api.github.com/users/andrewmcgov/following{/other_user}","gists_url":"https://api.github.com/users/andrewmcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmcgov/subscriptions","organizations_url":"https://api.github.com/users/andrewmcgov/orgs","repos_url":"https://api.github.com/users/andrewmcgov/repos","events_url":"https://api.github.com/users/andrewmcgov/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmcgov/received_events","type":"User","site_admin":false},"body":"Nice.","created_at":"2018-04-02T00:19:26Z","updated_at":"2018-04-02T00:20:09Z","html_url":"https://github.com/andrewmcgov/express-cms/pull/52#discussion_r178472742","pull_request_url":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/52","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/comments/178472742"},"html":{"href":"https://github.com/andrewmcgov/express-cms/pull/52#discussion_r178472742"},"pull_request":{"href":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/52","id":178609760,"html_url":"https://github.com/andrewmcgov/express-cms/pull/52","diff_url":"https://github.com/andrewmcgov/express-cms/pull/52.diff","patch_url":"https://github.com/andrewmcgov/express-cms/pull/52.patch","issue_url":"https://api.github.com/repos/andrewmcgov/express-cms/issues/52","number":52,"state":"open","locked":false,"title":"edit account flow","user":{"login":"jeremystephencobb","id":18615966,"avatar_url":"https://avatars0.githubusercontent.com/u/18615966?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremystephencobb","html_url":"https://github.com/jeremystephencobb","followers_url":"https://api.github.com/users/jeremystephencobb/followers","following_url":"https://api.github.com/users/jeremystephencobb/following{/other_user}","gists_url":"https://api.github.com/users/jeremystephencobb/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremystephencobb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremystephencobb/subscriptions","organizations_url":"https://api.github.com/users/jeremystephencobb/orgs","repos_url":"https://api.github.com/users/jeremystephencobb/repos","events_url":"https://api.github.com/users/jeremystephencobb/events{/privacy}","received_events_url":"https://api.github.com/users/jeremystephencobb/received_events","type":"User","site_admin":false},"body":"https://github.com/andrewmcgov/express-cms/issues/26","created_at":"2018-03-30T18:22:56Z","updated_at":"2018-04-02T00:20:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f69018654c593920a52e63ebedc2981bec24f0d0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/52/commits","review_comments_url":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/52/comments","review_comment_url":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andrewmcgov/express-cms/issues/52/comments","statuses_url":"https://api.github.com/repos/andrewmcgov/express-cms/statuses/d4f6325a37d1d6ff9af4ca86835b4854775ec077","head":{"label":"andrewmcgov:edit-account-flow","ref":"edit-account-flow","sha":"d4f6325a37d1d6ff9af4ca86835b4854775ec077","user":{"login":"andrewmcgov","id":14366097,"avatar_url":"https://avatars3.githubusercontent.com/u/14366097?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewmcgov","html_url":"https://github.com/andrewmcgov","followers_url":"https://api.github.com/users/andrewmcgov/followers","following_url":"https://api.github.com/users/andrewmcgov/following{/other_user}","gists_url":"https://api.github.com/users/andrewmcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmcgov/subscriptions","organizations_url":"https://api.github.com/users/andrewmcgov/orgs","repos_url":"https://api.github.com/users/andrewmcgov/repos","events_url":"https://api.github.com/users/andrewmcgov/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmcgov/received_events","type":"User","site_admin":false},"repo":{"id":114044218,"name":"express-cms","full_name":"andrewmcgov/express-cms","owner":{"login":"andrewmcgov","id":14366097,"avatar_url":"https://avatars3.githubusercontent.com/u/14366097?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewmcgov","html_url":"https://github.com/andrewmcgov","followers_url":"https://api.github.com/users/andrewmcgov/followers","following_url":"https://api.github.com/users/andrewmcgov/following{/other_user}","gists_url":"https://api.github.com/users/andrewmcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmcgov/subscriptions","organizations_url":"https://api.github.com/users/andrewmcgov/orgs","repos_url":"https://api.github.com/users/andrewmcgov/repos","events_url":"https://api.github.com/users/andrewmcgov/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmcgov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrewmcgov/express-cms","description":"A simple blog cms built on express.","fork":false,"url":"https://api.github.com/repos/andrewmcgov/express-cms","forks_url":"https://api.github.com/repos/andrewmcgov/express-cms/forks","keys_url":"https://api.github.com/repos/andrewmcgov/express-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrewmcgov/express-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrewmcgov/express-cms/teams","hooks_url":"https://api.github.com/repos/andrewmcgov/express-cms/hooks","issue_events_url":"https://api.github.com/repos/andrewmcgov/express-cms/issues/events{/number}","events_url":"https://api.github.com/repos/andrewmcgov/express-cms/events","assignees_url":"https://api.github.com/repos/andrewmcgov/express-cms/assignees{/user}","branches_url":"https://api.github.com/repos/andrewmcgov/express-cms/branches{/branch}","tags_url":"https://api.github.com/repos/andrewmcgov/express-cms/tags","blobs_url":"https://api.github.com/repos/andrewmcgov/express-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrewmcgov/express-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrewmcgov/express-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrewmcgov/express-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrewmcgov/express-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/andrewmcgov/express-cms/languages","stargazers_url":"https://api.github.com/repos/andrewmcgov/express-cms/stargazers","contributors_url":"https://api.github.com/repos/andrewmcgov/express-cms/contributors","subscribers_url":"https://api.github.com/repos/andrewmcgov/express-cms/subscribers","subscription_url":"https://api.github.com/repos/andrewmcgov/express-cms/subscription","commits_url":"https://api.github.com/repos/andrewmcgov/express-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrewmcgov/express-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrewmcgov/express-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrewmcgov/express-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrewmcgov/express-cms/contents/{+path}","compare_url":"https://api.github.com/repos/andrewmcgov/express-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrewmcgov/express-cms/merges","archive_url":"https://api.github.com/repos/andrewmcgov/express-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrewmcgov/express-cms/downloads","issues_url":"https://api.github.com/repos/andrewmcgov/express-cms/issues{/number}","pulls_url":"https://api.github.com/repos/andrewmcgov/express-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/andrewmcgov/express-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/andrewmcgov/express-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrewmcgov/express-cms/labels{/name}","releases_url":"https://api.github.com/repos/andrewmcgov/express-cms/releases{/id}","deployments_url":"https://api.github.com/repos/andrewmcgov/express-cms/deployments","created_at":"2017-12-12T22:08:56Z","updated_at":"2018-03-21T22:27:35Z","pushed_at":"2018-03-30T20:00:27Z","git_url":"git://github.com/andrewmcgov/express-cms.git","ssh_url":"git@github.com:andrewmcgov/express-cms.git","clone_url":"https://github.com/andrewmcgov/express-cms.git","svn_url":"https://github.com/andrewmcgov/express-cms","homepage":null,"size":872,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"andrewmcgov:master","ref":"master","sha":"df3633982dc2d29e90edb3e7d6b9f22626d05c91","user":{"login":"andrewmcgov","id":14366097,"avatar_url":"https://avatars3.githubusercontent.com/u/14366097?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewmcgov","html_url":"https://github.com/andrewmcgov","followers_url":"https://api.github.com/users/andrewmcgov/followers","following_url":"https://api.github.com/users/andrewmcgov/following{/other_user}","gists_url":"https://api.github.com/users/andrewmcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmcgov/subscriptions","organizations_url":"https://api.github.com/users/andrewmcgov/orgs","repos_url":"https://api.github.com/users/andrewmcgov/repos","events_url":"https://api.github.com/users/andrewmcgov/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmcgov/received_events","type":"User","site_admin":false},"repo":{"id":114044218,"name":"express-cms","full_name":"andrewmcgov/express-cms","owner":{"login":"andrewmcgov","id":14366097,"avatar_url":"https://avatars3.githubusercontent.com/u/14366097?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewmcgov","html_url":"https://github.com/andrewmcgov","followers_url":"https://api.github.com/users/andrewmcgov/followers","following_url":"https://api.github.com/users/andrewmcgov/following{/other_user}","gists_url":"https://api.github.com/users/andrewmcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmcgov/subscriptions","organizations_url":"https://api.github.com/users/andrewmcgov/orgs","repos_url":"https://api.github.com/users/andrewmcgov/repos","events_url":"https://api.github.com/users/andrewmcgov/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmcgov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrewmcgov/express-cms","description":"A simple blog cms built on express.","fork":false,"url":"https://api.github.com/repos/andrewmcgov/express-cms","forks_url":"https://api.github.com/repos/andrewmcgov/express-cms/forks","keys_url":"https://api.github.com/repos/andrewmcgov/express-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrewmcgov/express-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrewmcgov/express-cms/teams","hooks_url":"https://api.github.com/repos/andrewmcgov/express-cms/hooks","issue_events_url":"https://api.github.com/repos/andrewmcgov/express-cms/issues/events{/number}","events_url":"https://api.github.com/repos/andrewmcgov/express-cms/events","assignees_url":"https://api.github.com/repos/andrewmcgov/express-cms/assignees{/user}","branches_url":"https://api.github.com/repos/andrewmcgov/express-cms/branches{/branch}","tags_url":"https://api.github.com/repos/andrewmcgov/express-cms/tags","blobs_url":"https://api.github.com/repos/andrewmcgov/express-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrewmcgov/express-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrewmcgov/express-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrewmcgov/express-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrewmcgov/express-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/andrewmcgov/express-cms/languages","stargazers_url":"https://api.github.com/repos/andrewmcgov/express-cms/stargazers","contributors_url":"https://api.github.com/repos/andrewmcgov/express-cms/contributors","subscribers_url":"https://api.github.com/repos/andrewmcgov/express-cms/subscribers","subscription_url":"https://api.github.com/repos/andrewmcgov/express-cms/subscription","commits_url":"https://api.github.com/repos/andrewmcgov/express-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrewmcgov/express-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrewmcgov/express-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrewmcgov/express-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrewmcgov/express-cms/contents/{+path}","compare_url":"https://api.github.com/repos/andrewmcgov/express-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrewmcgov/express-cms/merges","archive_url":"https://api.github.com/repos/andrewmcgov/express-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrewmcgov/express-cms/downloads","issues_url":"https://api.github.com/repos/andrewmcgov/express-cms/issues{/number}","pulls_url":"https://api.github.com/repos/andrewmcgov/express-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/andrewmcgov/express-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/andrewmcgov/express-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrewmcgov/express-cms/labels{/name}","releases_url":"https://api.github.com/repos/andrewmcgov/express-cms/releases{/id}","deployments_url":"https://api.github.com/repos/andrewmcgov/express-cms/deployments","created_at":"2017-12-12T22:08:56Z","updated_at":"2018-03-21T22:27:35Z","pushed_at":"2018-03-30T20:00:27Z","git_url":"git://github.com/andrewmcgov/express-cms.git","ssh_url":"git@github.com:andrewmcgov/express-cms.git","clone_url":"https://github.com/andrewmcgov/express-cms.git","svn_url":"https://github.com/andrewmcgov/express-cms","homepage":null,"size":872,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/52"},"html":{"href":"https://github.com/andrewmcgov/express-cms/pull/52"},"issue":{"href":"https://api.github.com/repos/andrewmcgov/express-cms/issues/52"},"comments":{"href":"https://api.github.com/repos/andrewmcgov/express-cms/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andrewmcgov/express-cms/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/andrewmcgov/express-cms/statuses/d4f6325a37d1d6ff9af4ca86835b4854775ec077"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"andrewmcgov"}}