aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-07 10:38:41 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-07 10:38:41 +0200
commit8f3dff023cf8809bbd56c0a3a6c8d59ac614a275 (patch)
treee0424a88be19fc6ae389733f8b5f23a892a74ad8
parentadded some buttons (diff)
downloadDivid-8f3dff023cf8809bbd56c0a3a6c8d59ac614a275.tar.gz
added post-page
-rw-r--r--controllers/system.js6
-rw-r--r--views/newProject.ejs (renamed from views/newproject.ejs)0
2 files changed, 3 insertions, 3 deletions
diff --git a/controllers/system.js b/controllers/system.js
index 0be82d1..40e13e8 100644
--- a/controllers/system.js
+++ b/controllers/system.js
@@ -109,11 +109,11 @@ exports.projectParticipants = function(req, res) {
exports.postProjectParticipants = function(req, res) {
-
-
}
exports.projectPost = function(req, res) {
+ res.render('projectPost', { title: 'Legg til utgift', loggedin: true, req: req });
+
}
@@ -122,7 +122,7 @@ exports.postProjectPost = function(req, res) {
}
exports.newProject = function(req, res) {
- res.render('newproject', { title: 'Nytt prosjekt', loggedin: true });
+ res.render('newProject', { title: 'Nytt prosjekt', loggedin: true });
}
exports.postNewProject = function(req, res) {
diff --git a/views/newproject.ejs b/views/newProject.ejs
index 5559a9c..5559a9c 100644
--- a/views/newproject.ejs
+++ b/views/newProject.ejs