{"action":"created","issue":{"url":"https://api.github.com/repos/devcolor/majorkey/issues/43","repository_url":"https://api.github.com/repos/devcolor/majorkey","labels_url":"https://api.github.com/repos/devcolor/majorkey/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/devcolor/majorkey/issues/43/comments","events_url":"https://api.github.com/repos/devcolor/majorkey/issues/43/events","html_url":"https://github.com/devcolor/majorkey/issues/43","id":150516705,"number":43,"title":"Squad leaders are unable to modify the presenter or location on a Squad Report.","user":{"login":"Rodney-QAGeek","id":3329665,"avatar_url":"https://avatars.githubusercontent.com/u/3329665?v=3","gravatar_id":"","url":"https://api.github.com/users/Rodney-QAGeek","html_url":"https://github.com/Rodney-QAGeek","followers_url":"https://api.github.com/users/Rodney-QAGeek/followers","following_url":"https://api.github.com/users/Rodney-QAGeek/following{/other_user}","gists_url":"https://api.github.com/users/Rodney-QAGeek/gists{/gist_id}","starred_url":"https://api.github.com/users/Rodney-QAGeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rodney-QAGeek/subscriptions","organizations_url":"https://api.github.com/users/Rodney-QAGeek/orgs","repos_url":"https://api.github.com/users/Rodney-QAGeek/repos","events_url":"https://api.github.com/users/Rodney-QAGeek/events{/privacy}","received_events_url":"https://api.github.com/users/Rodney-QAGeek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/devcolor/majorkey/labels/squads","name":"squads","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-23T04:43:38Z","updated_at":"2016-04-27T00:23:27Z","closed_at":null,"body":"**Issue:** When Squad leaders redo a squad report they should be able to change the presenters and the location.\n\n**Suggestion:** Add `presenter` and `location` fields to squad_report.html\n\nI was thinking of trying to update https://github.com/devcolor/majorkey/blob/master/views/squad_report.html#L10 with the following code:\n```\n        <h1>Squad Report</h1>\n        <fieldset>\n            <legend>Actual Times</legend>\n            <label>START<input type=\"time\" name=\"start\" class=\"form-control\" required/></label>\n            <label>END<input type=\"time\" name=\"end\" class=\"form-control\" required/></label>\n            <label>Location (be specific)<input class=\"form-control\" type=\"text\" name=\"location\"/></label>\n            <label>Presenter<select class=\"form-control\" name=\"presenter\">\n                {% for member in members %}\n                  <option value=\"{{member.id}}\">{{ member.name }}</option>\n                {% endfor %}\n            </select></label>\n        </fieldset>\n```\n\nBut I ran into a few issues attempting to build the app locally.\n\n```\nSFO-RU:majorkey qageek$ npm start\n\n> majorkey@0.0.0 start /Users/qageek/code/majorkey\n> node ./bin/www\n\n/Users/qageek/code/majorkey/forms.js:112\nvar memberFormCreationProps = Object.assign(\n                                     ^\nTypeError: undefined is not a function\n    at Object.<anonymous> (/Users/qageek/code/majorkey/forms.js:112:38)\n    at Module._compile (module.js:460:26)\n    at Object.Module._extensions..js (module.js:478:10)\n    at Module.load (module.js:355:32)\n    at Function.Module._load (module.js:310:12)\n    at Module.require (module.js:365:17)\n    at require (module.js:384:17)\n    at Object.<anonymous> (/Users/qageek/code/majorkey/routes/members.js:4:15)\n    at Module._compile (module.js:460:26)\n    at Object.Module._extensions..js (module.js:478:10)\n    at Module.load (module.js:355:32)\n    at Function.Module._load (module.js:310:12)\n    at Module.require (module.js:365:17)\n    at require (module.js:384:17)\n    at Object.<anonymous> (/Users/qageek/code/majorkey/app.js:18:21)\n    at Module._compile (module.js:460:26)\n    at Object.Module._extensions..js (module.js:478:10)\n    at Module.load (module.js:355:32)\n    at Function.Module._load (module.js:310:12)\n    at Module.require (module.js:365:17)\n    at require (module.js:384:17)\n    at Object.<anonymous> (/Users/qageek/code/majorkey/bin/www:7:11)\n\nnpm ERR! Darwin 15.4.0\nnpm ERR! argv \"node\" \"/usr/local/bin/npm\" \"start\"\nnpm ERR! node v0.12.4\nnpm ERR! npm  v2.10.1\nnpm ERR! code ELIFECYCLE\nnpm ERR! majorkey@0.0.0 start: `node ./bin/www`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the majorkey@0.0.0 start script 'node ./bin/www'.\nnpm ERR! This is most likely a problem with the majorkey package,\nnpm ERR! not with npm itself.\nnpm ERR! Tell the author that this fails on your system:\nnpm ERR!     node ./bin/www\nnpm ERR! You can get their info via:\nnpm ERR!     npm owner ls majorkey\nnpm ERR! There is likely additional logging output above.\n\nnpm ERR! Please include the following file with any support request:\nnpm ERR!     /Users/qageek/code/majorkey/npm-debug.log\n```\njshint also displays the following errors regardless of my changes:\n```\nSFO-RU:majorkey qageek$ jshint .\nemails.js: line 14, col 71, Missing semicolon.\nemails.js: line 127, col 21, ['cc'] is better written in dot notation.\n\nroutes/squads.js: line 25, col 5, Bad line breaking before '?'.\nroutes/squads.js: line 217, col 5, Bad line breaking before '?'.\nroutes/squads.js: line 220, col 5, Bad line breaking before '?'.\nroutes/squads.js: line 241, col 74, Missing semicolon.\n\nschemas/squad_meeting.js: line 89, col 15, You might be leaking a variable (earned) here.\n\n7 errors\n```"},"comment":{"url":"https://api.github.com/repos/devcolor/majorkey/issues/comments/214927998","html_url":"https://github.com/devcolor/majorkey/issues/43#issuecomment-214927998","issue_url":"https://api.github.com/repos/devcolor/majorkey/issues/43","id":214927998,"user":{"login":"Rodney-QAGeek","id":3329665,"avatar_url":"https://avatars.githubusercontent.com/u/3329665?v=3","gravatar_id":"","url":"https://api.github.com/users/Rodney-QAGeek","html_url":"https://github.com/Rodney-QAGeek","followers_url":"https://api.github.com/users/Rodney-QAGeek/followers","following_url":"https://api.github.com/users/Rodney-QAGeek/following{/other_user}","gists_url":"https://api.github.com/users/Rodney-QAGeek/gists{/gist_id}","starred_url":"https://api.github.com/users/Rodney-QAGeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rodney-QAGeek/subscriptions","organizations_url":"https://api.github.com/users/Rodney-QAGeek/orgs","repos_url":"https://api.github.com/users/Rodney-QAGeek/repos","events_url":"https://api.github.com/users/Rodney-QAGeek/events{/privacy}","received_events_url":"https://api.github.com/users/Rodney-QAGeek/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T00:23:27Z","updated_at":"2016-04-27T00:23:27Z","body":"This issue can be closed thanks to https://github.com/devcolor/majorkey/issues/32."}}