{"action":"created","comment":{"url":"https://api.github.com/repos/xtechcommerce/development-test/pulls/comments/117816457","pull_request_review_id":39554590,"id":117816457,"diff_hunk":"@@ -0,0 +1,45 @@\n+<div class=\"col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main\">\n+    <div class=\"col-md-12\">\n+        <h1 class=\"page-header\">Novo Produto</h1>\n+    </div>\n+\n+    <div class=\"col-md-12\">\n+        <form action=\"<?= base_url() ?>produtos/cadastrar\" method=\"POST\">\n+            <div class=\"form-group\">\n+                <label for=\"nome\">Nome</label>\n+                <input type=\"text\" class=\"form-control\" name=\"nome\" id=\"nome\" placeholder=\"Informe o nome\" required=\"\">\n+            </div>\n+\n+            <div class=\"row\">\n+                <div class=\"col-md-4\">\n+                    <div class=\"form-group\">\n+                        <label for=\"preco\">Valor do Produto</label>\n+                        <input type=\"text\" class=\"form-control valor\" name=\"preco\" id=\"valor\" placeholder=\"Informe o valor do produto\" required=\"\">\n+                    </div>\n+                </div>\n+\n+                <div class=\"col-md-4\">\n+                    <div class=\"form-group\">\n+                        <label for=\"qtdEstoque\">Quantidade Em Estoque</label>\n+                        <input type=\"text\" class=\"form-control\" name=\"qtdEstoque\" id=\"qtdEstoque\" placeholder=\"Informe a quantidade em estoque deste produto\" required=\"\">\n+                    </div>\n+                </div>\n+\n+                <div class=\"col-md-4\">\n+                    <div class=\"form-group\">\n+                        <label for=\"dataCadastro\">Data de Cadastro</label>\n+                        <input type=\"text\" class=\"form-control datepicker\" disabled value=\"<?= date('d/m/Y H:i:s'); ?>\" name=\"dataCadastro\" id=\"dataCadastro\">\n+                    </div>\n+                </div>\n+            </div>\n+\n+            <div style=\"text-align: right;\">\n+                <button type=\"submit\" class=\"btn btn-success\">Cadastrar</button>\n+                <button type=\"reset\" class=\"btn btn-default\">Cancelar</button>","path":"application/views/cadastro_produto.php","position":38,"original_position":38,"commit_id":"01f7a960be7da1fe23242c259035a1dee7b4d9bb","original_commit_id":"01f7a960be7da1fe23242c259035a1dee7b4d9bb","user":{"login":"Fabianoshz","id":14815404,"avatar_url":"https://avatars2.githubusercontent.com/u/14815404?v=3","gravatar_id":"","url":"https://api.github.com/users/Fabianoshz","html_url":"https://github.com/Fabianoshz","followers_url":"https://api.github.com/users/Fabianoshz/followers","following_url":"https://api.github.com/users/Fabianoshz/following{/other_user}","gists_url":"https://api.github.com/users/Fabianoshz/gists{/gist_id}","starred_url":"https://api.github.com/users/Fabianoshz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fabianoshz/subscriptions","organizations_url":"https://api.github.com/users/Fabianoshz/orgs","repos_url":"https://api.github.com/users/Fabianoshz/repos","events_url":"https://api.github.com/users/Fabianoshz/events{/privacy}","received_events_url":"https://api.github.com/users/Fabianoshz/received_events","type":"User","site_admin":false},"body":"Isto está resetando o form e não voltando para a página anterior.","created_at":"2017-05-22T18:38:52Z","updated_at":"2017-05-22T18:44:08Z","html_url":"https://github.com/xtechcommerce/development-test/pull/10#discussion_r117816457","pull_request_url":"https://api.github.com/repos/xtechcommerce/development-test/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/xtechcommerce/development-test/pulls/comments/117816457"},"html":{"href":"https://github.com/xtechcommerce/development-test/pull/10#discussion_r117816457"},"pull_request":{"href":"https://api.github.com/repos/xtechcommerce/development-test/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/xtechcommerce/development-test/pulls/10","id":121627609,"html_url":"https://github.com/xtechcommerce/development-test/pull/10","diff_url":"https://github.com/xtechcommerce/development-test/pull/10.diff","patch_url":"https://github.com/xtechcommerce/development-test/pull/10.patch","issue_url":"https://api.github.com/repos/xtechcommerce/development-test/issues/10","number":10,"state":"open","locked":false,"title":"PROJETO CARLOS ADRIANO - PROCESSO SELETIVO","user":{"login":"carlosadrianosmoreira","id":28656448,"avatar_url":"https://avatars2.githubusercontent.com/u/28656448?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosadrianosmoreira","html_url":"https://github.com/carlosadrianosmoreira","followers_url":"https://api.github.com/users/carlosadrianosmoreira/followers","following_url":"https://api.github.com/users/carlosadrianosmoreira/following{/other_user}","gists_url":"https://api.github.com/users/carlosadrianosmoreira/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosadrianosmoreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosadrianosmoreira/subscriptions","organizations_url":"https://api.github.com/users/carlosadrianosmoreira/orgs","repos_url":"https://api.github.com/users/carlosadrianosmoreira/repos","events_url":"https://api.github.com/users/carlosadrianosmoreira/events{/privacy}","received_events_url":"https://api.github.com/users/carlosadrianosmoreira/received_events","type":"User","site_admin":false},"body":"Meu projeto para o processo seletivo - Carlos Adriano","created_at":"2017-05-20T15:35:53Z","updated_at":"2017-05-22T18:44:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7e7b883ee3b2bd0210b080a7d87be6066dc0229","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/xtechcommerce/development-test/pulls/10/commits","review_comments_url":"https://api.github.com/repos/xtechcommerce/development-test/pulls/10/comments","review_comment_url":"https://api.github.com/repos/xtechcommerce/development-test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xtechcommerce/development-test/issues/10/comments","statuses_url":"https://api.github.com/repos/xtechcommerce/development-test/statuses/01f7a960be7da1fe23242c259035a1dee7b4d9bb","head":{"label":"carlosadrianosmoreira:master","ref":"master","sha":"01f7a960be7da1fe23242c259035a1dee7b4d9bb","user":{"login":"carlosadrianosmoreira","id":28656448,"avatar_url":"https://avatars2.githubusercontent.com/u/28656448?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosadrianosmoreira","html_url":"https://github.com/carlosadrianosmoreira","followers_url":"https://api.github.com/users/carlosadrianosmoreira/followers","following_url":"https://api.github.com/users/carlosadrianosmoreira/following{/other_user}","gists_url":"https://api.github.com/users/carlosadrianosmoreira/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosadrianosmoreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosadrianosmoreira/subscriptions","organizations_url":"https://api.github.com/users/carlosadrianosmoreira/orgs","repos_url":"https://api.github.com/users/carlosadrianosmoreira/repos","events_url":"https://api.github.com/users/carlosadrianosmoreira/events{/privacy}","received_events_url":"https://api.github.com/users/carlosadrianosmoreira/received_events","type":"User","site_admin":false},"repo":{"id":91897666,"name":"development-test","full_name":"carlosadrianosmoreira/development-test","owner":{"login":"carlosadrianosmoreira","id":28656448,"avatar_url":"https://avatars2.githubusercontent.com/u/28656448?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosadrianosmoreira","html_url":"https://github.com/carlosadrianosmoreira","followers_url":"https://api.github.com/users/carlosadrianosmoreira/followers","following_url":"https://api.github.com/users/carlosadrianosmoreira/following{/other_user}","gists_url":"https://api.github.com/users/carlosadrianosmoreira/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosadrianosmoreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosadrianosmoreira/subscriptions","organizations_url":"https://api.github.com/users/carlosadrianosmoreira/orgs","repos_url":"https://api.github.com/users/carlosadrianosmoreira/repos","events_url":"https://api.github.com/users/carlosadrianosmoreira/events{/privacy}","received_events_url":"https://api.github.com/users/carlosadrianosmoreira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carlosadrianosmoreira/development-test","description":"Development Knowledge Test ","fork":true,"url":"https://api.github.com/repos/carlosadrianosmoreira/development-test","forks_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/forks","keys_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/teams","hooks_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/hooks","issue_events_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/issues/events{/number}","events_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/events","assignees_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/assignees{/user}","branches_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/branches{/branch}","tags_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/tags","blobs_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/statuses/{sha}","languages_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/languages","stargazers_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/stargazers","contributors_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/contributors","subscribers_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/subscribers","subscription_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/subscription","commits_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/contents/{+path}","compare_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/merges","archive_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/downloads","issues_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/issues{/number}","pulls_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/pulls{/number}","milestones_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/milestones{/number}","notifications_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/labels{/name}","releases_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/releases{/id}","deployments_url":"https://api.github.com/repos/carlosadrianosmoreira/development-test/deployments","created_at":"2017-05-20T15:20:22Z","updated_at":"2017-05-20T15:30:26Z","pushed_at":"2017-05-20T15:30:23Z","git_url":"git://github.com/carlosadrianosmoreira/development-test.git","ssh_url":"git@github.com:carlosadrianosmoreira/development-test.git","clone_url":"https://github.com/carlosadrianosmoreira/development-test.git","svn_url":"https://github.com/carlosadrianosmoreira/development-test","homepage":"","size":2377,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"xtechcommerce:master","ref":"master","sha":"653c39063632af88c8c6edc994f0222c5013ed44","user":{"login":"xtechcommerce","id":7374890,"avatar_url":"https://avatars0.githubusercontent.com/u/7374890?v=3","gravatar_id":"","url":"https://api.github.com/users/xtechcommerce","html_url":"https://github.com/xtechcommerce","followers_url":"https://api.github.com/users/xtechcommerce/followers","following_url":"https://api.github.com/users/xtechcommerce/following{/other_user}","gists_url":"https://api.github.com/users/xtechcommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/xtechcommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtechcommerce/subscriptions","organizations_url":"https://api.github.com/users/xtechcommerce/orgs","repos_url":"https://api.github.com/users/xtechcommerce/repos","events_url":"https://api.github.com/users/xtechcommerce/events{/privacy}","received_events_url":"https://api.github.com/users/xtechcommerce/received_events","type":"Organization","site_admin":false},"repo":{"id":55444743,"name":"development-test","full_name":"xtechcommerce/development-test","owner":{"login":"xtechcommerce","id":7374890,"avatar_url":"https://avatars0.githubusercontent.com/u/7374890?v=3","gravatar_id":"","url":"https://api.github.com/users/xtechcommerce","html_url":"https://github.com/xtechcommerce","followers_url":"https://api.github.com/users/xtechcommerce/followers","following_url":"https://api.github.com/users/xtechcommerce/following{/other_user}","gists_url":"https://api.github.com/users/xtechcommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/xtechcommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtechcommerce/subscriptions","organizations_url":"https://api.github.com/users/xtechcommerce/orgs","repos_url":"https://api.github.com/users/xtechcommerce/repos","events_url":"https://api.github.com/users/xtechcommerce/events{/privacy}","received_events_url":"https://api.github.com/users/xtechcommerce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xtechcommerce/development-test","description":"Development Knowledge Test ","fork":false,"url":"https://api.github.com/repos/xtechcommerce/development-test","forks_url":"https://api.github.com/repos/xtechcommerce/development-test/forks","keys_url":"https://api.github.com/repos/xtechcommerce/development-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xtechcommerce/development-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xtechcommerce/development-test/teams","hooks_url":"https://api.github.com/repos/xtechcommerce/development-test/hooks","issue_events_url":"https://api.github.com/repos/xtechcommerce/development-test/issues/events{/number}","events_url":"https://api.github.com/repos/xtechcommerce/development-test/events","assignees_url":"https://api.github.com/repos/xtechcommerce/development-test/assignees{/user}","branches_url":"https://api.github.com/repos/xtechcommerce/development-test/branches{/branch}","tags_url":"https://api.github.com/repos/xtechcommerce/development-test/tags","blobs_url":"https://api.github.com/repos/xtechcommerce/development-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xtechcommerce/development-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xtechcommerce/development-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/xtechcommerce/development-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xtechcommerce/development-test/statuses/{sha}","languages_url":"https://api.github.com/repos/xtechcommerce/development-test/languages","stargazers_url":"https://api.github.com/repos/xtechcommerce/development-test/stargazers","contributors_url":"https://api.github.com/repos/xtechcommerce/development-test/contributors","subscribers_url":"https://api.github.com/repos/xtechcommerce/development-test/subscribers","subscription_url":"https://api.github.com/repos/xtechcommerce/development-test/subscription","commits_url":"https://api.github.com/repos/xtechcommerce/development-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/xtechcommerce/development-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/xtechcommerce/development-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/xtechcommerce/development-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/xtechcommerce/development-test/contents/{+path}","compare_url":"https://api.github.com/repos/xtechcommerce/development-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xtechcommerce/development-test/merges","archive_url":"https://api.github.com/repos/xtechcommerce/development-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xtechcommerce/development-test/downloads","issues_url":"https://api.github.com/repos/xtechcommerce/development-test/issues{/number}","pulls_url":"https://api.github.com/repos/xtechcommerce/development-test/pulls{/number}","milestones_url":"https://api.github.com/repos/xtechcommerce/development-test/milestones{/number}","notifications_url":"https://api.github.com/repos/xtechcommerce/development-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xtechcommerce/development-test/labels{/name}","releases_url":"https://api.github.com/repos/xtechcommerce/development-test/releases{/id}","deployments_url":"https://api.github.com/repos/xtechcommerce/development-test/deployments","created_at":"2016-04-04T21:00:10Z","updated_at":"2017-01-10T17:43:55Z","pushed_at":"2017-05-22T15:32:02Z","git_url":"git://github.com/xtechcommerce/development-test.git","ssh_url":"git@github.com:xtechcommerce/development-test.git","clone_url":"https://github.com/xtechcommerce/development-test.git","svn_url":"https://github.com/xtechcommerce/development-test","homepage":"","size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":4,"forks":23,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xtechcommerce/development-test/pulls/10"},"html":{"href":"https://github.com/xtechcommerce/development-test/pull/10"},"issue":{"href":"https://api.github.com/repos/xtechcommerce/development-test/issues/10"},"comments":{"href":"https://api.github.com/repos/xtechcommerce/development-test/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/xtechcommerce/development-test/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/xtechcommerce/development-test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xtechcommerce/development-test/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/xtechcommerce/development-test/statuses/01f7a960be7da1fe23242c259035a1dee7b4d9bb"}}}}
{"actor":{"display_login":"Fabianoshz"}}