{"action":"created","comment":{"url":"https://api.github.com/repos/ecristerna/pitagoras/pulls/comments/67806036","id":67806036,"diff_hunk":"@@ -0,0 +1,97 @@\n+'use strict';\n+\n+require('./alta-usuario-form.scss');\n+\n+// -----------------------------------------------------------------------------------------------\n+// React + Other Modules\n+// -----------------------------------------------------------------------------------------------\n+\n+var React = require('react');\n+\n+var Parse = require('parse');\n+var UserObject = Parse.Object.extend('User');\n+\n+// -----------------------------------------------------------------------------------------------\n+// Alta Usuario Form\n+// -----------------------------------------------------------------------------------------------\n+\n+var AltaUsuarioForm = React.createClass({\n+    getInitialState: function () {\n+        return {\n+            nombre: null,\n+            apellidos: null,\n+            email: null,\n+            tipo: null,\n+            username: null,\n+            password: null\n+        };\n+    },\n+    render: function () {\n+        return (\n+            <main className='alta-usuario'>\n+                <form onSubmit={this.handleAltaUsuario}>\n+                    <p className='section-title'>Nuevo Usuario</p>\n+                    <div className='input-wrapper'>\n+                        <label>Nombre</label>\n+                        <input type='text' onChange={this.handleChange.bind(this, 'nombre')} />\n+                    </div>\n+                    <div className='input-wrapper'>\n+                        <label>Apellidos</label>\n+                        <input type='text' onChange={this.handleChange.bind(this, 'apellidos')} />\n+                    </div>\n+                    <div className='input-wrapper'>\n+                        <label>Correo Electroónico</label>\n+                        <input type='text' onChange={this.handleChange.bind(this, 'email')} />\n+                    </div>\n+                    <div className='input-wrapper'>\n+                        <label>Tipo de Usuario</label>\n+                        <select onChange={this.handleChange.bind(this, 'tipo')}>","path":"src/components/altas/alta-usuario-form.jsx","position":48,"original_position":48,"commit_id":"82b879092f94150ab20ed13fc875c82e949adbd6","original_commit_id":"82b879092f94150ab20ed13fc875c82e949adbd6","user":{"login":"alexcris","id":7550348,"avatar_url":"https://avatars.githubusercontent.com/u/7550348?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcris","html_url":"https://github.com/alexcris","followers_url":"https://api.github.com/users/alexcris/followers","following_url":"https://api.github.com/users/alexcris/following{/other_user}","gists_url":"https://api.github.com/users/alexcris/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcris/subscriptions","organizations_url":"https://api.github.com/users/alexcris/orgs","repos_url":"https://api.github.com/users/alexcris/repos","events_url":"https://api.github.com/users/alexcris/events{/privacy}","received_events_url":"https://api.github.com/users/alexcris/received_events","type":"User","site_admin":false},"body":"`value={this.state.tipo}`","created_at":"2016-06-21T04:19:49Z","updated_at":"2016-06-21T04:19:49Z","html_url":"https://github.com/ecristerna/pitagoras/pull/80#discussion_r67806036","pull_request_url":"https://api.github.com/repos/ecristerna/pitagoras/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/ecristerna/pitagoras/pulls/comments/67806036"},"html":{"href":"https://github.com/ecristerna/pitagoras/pull/80#discussion_r67806036"},"pull_request":{"href":"https://api.github.com/repos/ecristerna/pitagoras/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/ecristerna/pitagoras/pulls/80","id":74327096,"html_url":"https://github.com/ecristerna/pitagoras/pull/80","diff_url":"https://github.com/ecristerna/pitagoras/pull/80.diff","patch_url":"https://github.com/ecristerna/pitagoras/pull/80.patch","issue_url":"https://api.github.com/repos/ecristerna/pitagoras/issues/80","number":80,"state":"open","locked":false,"title":"Fixes #70 - Alta Usuario","user":{"login":"ecristerna","id":3680271,"avatar_url":"https://avatars.githubusercontent.com/u/3680271?v=3","gravatar_id":"","url":"https://api.github.com/users/ecristerna","html_url":"https://github.com/ecristerna","followers_url":"https://api.github.com/users/ecristerna/followers","following_url":"https://api.github.com/users/ecristerna/following{/other_user}","gists_url":"https://api.github.com/users/ecristerna/gists{/gist_id}","starred_url":"https://api.github.com/users/ecristerna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecristerna/subscriptions","organizations_url":"https://api.github.com/users/ecristerna/orgs","repos_url":"https://api.github.com/users/ecristerna/repos","events_url":"https://api.github.com/users/ecristerna/events{/privacy}","received_events_url":"https://api.github.com/users/ecristerna/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-18T04:11:59Z","updated_at":"2016-06-21T04:19:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a0435d77fb1e429c177306b37c6d4a3a07dfe3f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ecristerna/pitagoras/pulls/80/commits","review_comments_url":"https://api.github.com/repos/ecristerna/pitagoras/pulls/80/comments","review_comment_url":"https://api.github.com/repos/ecristerna/pitagoras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ecristerna/pitagoras/issues/80/comments","statuses_url":"https://api.github.com/repos/ecristerna/pitagoras/statuses/82b879092f94150ab20ed13fc875c82e949adbd6","head":{"label":"ecristerna:alta-usuario","ref":"alta-usuario","sha":"82b879092f94150ab20ed13fc875c82e949adbd6","user":{"login":"ecristerna","id":3680271,"avatar_url":"https://avatars.githubusercontent.com/u/3680271?v=3","gravatar_id":"","url":"https://api.github.com/users/ecristerna","html_url":"https://github.com/ecristerna","followers_url":"https://api.github.com/users/ecristerna/followers","following_url":"https://api.github.com/users/ecristerna/following{/other_user}","gists_url":"https://api.github.com/users/ecristerna/gists{/gist_id}","starred_url":"https://api.github.com/users/ecristerna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecristerna/subscriptions","organizations_url":"https://api.github.com/users/ecristerna/orgs","repos_url":"https://api.github.com/users/ecristerna/repos","events_url":"https://api.github.com/users/ecristerna/events{/privacy}","received_events_url":"https://api.github.com/users/ecristerna/received_events","type":"User","site_admin":false},"repo":{"id":57927378,"name":"pitagoras","full_name":"ecristerna/pitagoras","owner":{"login":"ecristerna","id":3680271,"avatar_url":"https://avatars.githubusercontent.com/u/3680271?v=3","gravatar_id":"","url":"https://api.github.com/users/ecristerna","html_url":"https://github.com/ecristerna","followers_url":"https://api.github.com/users/ecristerna/followers","following_url":"https://api.github.com/users/ecristerna/following{/other_user}","gists_url":"https://api.github.com/users/ecristerna/gists{/gist_id}","starred_url":"https://api.github.com/users/ecristerna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecristerna/subscriptions","organizations_url":"https://api.github.com/users/ecristerna/orgs","repos_url":"https://api.github.com/users/ecristerna/repos","events_url":"https://api.github.com/users/ecristerna/events{/privacy}","received_events_url":"https://api.github.com/users/ecristerna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ecristerna/pitagoras","description":"","fork":false,"url":"https://api.github.com/repos/ecristerna/pitagoras","forks_url":"https://api.github.com/repos/ecristerna/pitagoras/forks","keys_url":"https://api.github.com/repos/ecristerna/pitagoras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ecristerna/pitagoras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ecristerna/pitagoras/teams","hooks_url":"https://api.github.com/repos/ecristerna/pitagoras/hooks","issue_events_url":"https://api.github.com/repos/ecristerna/pitagoras/issues/events{/number}","events_url":"https://api.github.com/repos/ecristerna/pitagoras/events","assignees_url":"https://api.github.com/repos/ecristerna/pitagoras/assignees{/user}","branches_url":"https://api.github.com/repos/ecristerna/pitagoras/branches{/branch}","tags_url":"https://api.github.com/repos/ecristerna/pitagoras/tags","blobs_url":"https://api.github.com/repos/ecristerna/pitagoras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ecristerna/pitagoras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ecristerna/pitagoras/git/refs{/sha}","trees_url":"https://api.github.com/repos/ecristerna/pitagoras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ecristerna/pitagoras/statuses/{sha}","languages_url":"https://api.github.com/repos/ecristerna/pitagoras/languages","stargazers_url":"https://api.github.com/repos/ecristerna/pitagoras/stargazers","contributors_url":"https://api.github.com/repos/ecristerna/pitagoras/contributors","subscribers_url":"https://api.github.com/repos/ecristerna/pitagoras/subscribers","subscription_url":"https://api.github.com/repos/ecristerna/pitagoras/subscription","commits_url":"https://api.github.com/repos/ecristerna/pitagoras/commits{/sha}","git_commits_url":"https://api.github.com/repos/ecristerna/pitagoras/git/commits{/sha}","comments_url":"https://api.github.com/repos/ecristerna/pitagoras/comments{/number}","issue_comment_url":"https://api.github.com/repos/ecristerna/pitagoras/issues/comments{/number}","contents_url":"https://api.github.com/repos/ecristerna/pitagoras/contents/{+path}","compare_url":"https://api.github.com/repos/ecristerna/pitagoras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ecristerna/pitagoras/merges","archive_url":"https://api.github.com/repos/ecristerna/pitagoras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ecristerna/pitagoras/downloads","issues_url":"https://api.github.com/repos/ecristerna/pitagoras/issues{/number}","pulls_url":"https://api.github.com/repos/ecristerna/pitagoras/pulls{/number}","milestones_url":"https://api.github.com/repos/ecristerna/pitagoras/milestones{/number}","notifications_url":"https://api.github.com/repos/ecristerna/pitagoras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ecristerna/pitagoras/labels{/name}","releases_url":"https://api.github.com/repos/ecristerna/pitagoras/releases{/id}","deployments_url":"https://api.github.com/repos/ecristerna/pitagoras/deployments","created_at":"2016-05-02T23:21:46Z","updated_at":"2016-05-21T18:35:21Z","pushed_at":"2016-06-21T01:59:08Z","git_url":"git://github.com/ecristerna/pitagoras.git","ssh_url":"git@github.com:ecristerna/pitagoras.git","clone_url":"https://github.com/ecristerna/pitagoras.git","svn_url":"https://github.com/ecristerna/pitagoras","homepage":null,"size":19557,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":1,"default_branch":"development"}},"base":{"label":"ecristerna:development","ref":"development","sha":"24342d28ae5480a0d494256764cacfc30afc413b","user":{"login":"ecristerna","id":3680271,"avatar_url":"https://avatars.githubusercontent.com/u/3680271?v=3","gravatar_id":"","url":"https://api.github.com/users/ecristerna","html_url":"https://github.com/ecristerna","followers_url":"https://api.github.com/users/ecristerna/followers","following_url":"https://api.github.com/users/ecristerna/following{/other_user}","gists_url":"https://api.github.com/users/ecristerna/gists{/gist_id}","starred_url":"https://api.github.com/users/ecristerna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecristerna/subscriptions","organizations_url":"https://api.github.com/users/ecristerna/orgs","repos_url":"https://api.github.com/users/ecristerna/repos","events_url":"https://api.github.com/users/ecristerna/events{/privacy}","received_events_url":"https://api.github.com/users/ecristerna/received_events","type":"User","site_admin":false},"repo":{"id":57927378,"name":"pitagoras","full_name":"ecristerna/pitagoras","owner":{"login":"ecristerna","id":3680271,"avatar_url":"https://avatars.githubusercontent.com/u/3680271?v=3","gravatar_id":"","url":"https://api.github.com/users/ecristerna","html_url":"https://github.com/ecristerna","followers_url":"https://api.github.com/users/ecristerna/followers","following_url":"https://api.github.com/users/ecristerna/following{/other_user}","gists_url":"https://api.github.com/users/ecristerna/gists{/gist_id}","starred_url":"https://api.github.com/users/ecristerna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecristerna/subscriptions","organizations_url":"https://api.github.com/users/ecristerna/orgs","repos_url":"https://api.github.com/users/ecristerna/repos","events_url":"https://api.github.com/users/ecristerna/events{/privacy}","received_events_url":"https://api.github.com/users/ecristerna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ecristerna/pitagoras","description":"","fork":false,"url":"https://api.github.com/repos/ecristerna/pitagoras","forks_url":"https://api.github.com/repos/ecristerna/pitagoras/forks","keys_url":"https://api.github.com/repos/ecristerna/pitagoras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ecristerna/pitagoras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ecristerna/pitagoras/teams","hooks_url":"https://api.github.com/repos/ecristerna/pitagoras/hooks","issue_events_url":"https://api.github.com/repos/ecristerna/pitagoras/issues/events{/number}","events_url":"https://api.github.com/repos/ecristerna/pitagoras/events","assignees_url":"https://api.github.com/repos/ecristerna/pitagoras/assignees{/user}","branches_url":"https://api.github.com/repos/ecristerna/pitagoras/branches{/branch}","tags_url":"https://api.github.com/repos/ecristerna/pitagoras/tags","blobs_url":"https://api.github.com/repos/ecristerna/pitagoras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ecristerna/pitagoras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ecristerna/pitagoras/git/refs{/sha}","trees_url":"https://api.github.com/repos/ecristerna/pitagoras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ecristerna/pitagoras/statuses/{sha}","languages_url":"https://api.github.com/repos/ecristerna/pitagoras/languages","stargazers_url":"https://api.github.com/repos/ecristerna/pitagoras/stargazers","contributors_url":"https://api.github.com/repos/ecristerna/pitagoras/contributors","subscribers_url":"https://api.github.com/repos/ecristerna/pitagoras/subscribers","subscription_url":"https://api.github.com/repos/ecristerna/pitagoras/subscription","commits_url":"https://api.github.com/repos/ecristerna/pitagoras/commits{/sha}","git_commits_url":"https://api.github.com/repos/ecristerna/pitagoras/git/commits{/sha}","comments_url":"https://api.github.com/repos/ecristerna/pitagoras/comments{/number}","issue_comment_url":"https://api.github.com/repos/ecristerna/pitagoras/issues/comments{/number}","contents_url":"https://api.github.com/repos/ecristerna/pitagoras/contents/{+path}","compare_url":"https://api.github.com/repos/ecristerna/pitagoras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ecristerna/pitagoras/merges","archive_url":"https://api.github.com/repos/ecristerna/pitagoras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ecristerna/pitagoras/downloads","issues_url":"https://api.github.com/repos/ecristerna/pitagoras/issues{/number}","pulls_url":"https://api.github.com/repos/ecristerna/pitagoras/pulls{/number}","milestones_url":"https://api.github.com/repos/ecristerna/pitagoras/milestones{/number}","notifications_url":"https://api.github.com/repos/ecristerna/pitagoras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ecristerna/pitagoras/labels{/name}","releases_url":"https://api.github.com/repos/ecristerna/pitagoras/releases{/id}","deployments_url":"https://api.github.com/repos/ecristerna/pitagoras/deployments","created_at":"2016-05-02T23:21:46Z","updated_at":"2016-05-21T18:35:21Z","pushed_at":"2016-06-21T01:59:08Z","git_url":"git://github.com/ecristerna/pitagoras.git","ssh_url":"git@github.com:ecristerna/pitagoras.git","clone_url":"https://github.com/ecristerna/pitagoras.git","svn_url":"https://github.com/ecristerna/pitagoras","homepage":null,"size":19557,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":1,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/ecristerna/pitagoras/pulls/80"},"html":{"href":"https://github.com/ecristerna/pitagoras/pull/80"},"issue":{"href":"https://api.github.com/repos/ecristerna/pitagoras/issues/80"},"comments":{"href":"https://api.github.com/repos/ecristerna/pitagoras/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/ecristerna/pitagoras/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/ecristerna/pitagoras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ecristerna/pitagoras/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/ecristerna/pitagoras/statuses/82b879092f94150ab20ed13fc875c82e949adbd6"}}}}
{"actor":{"display_login":"alexcris"}}