From aca44b28940f1ffbe6d2c36d18914c86a40e785f Mon Sep 17 00:00:00 2001 From: Yasin Rahman Date: Mon, 12 Oct 2015 17:05:14 +0200 Subject: [PATCH] Create Project: url field added --- portal/projectrequestview.py | 1 + portal/templates/projectrequest_view.html | 8 +++++++- portal/templates/slicerequest_view.html | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/portal/projectrequestview.py b/portal/projectrequestview.py index 1f6e921b..2757b94a 100644 --- a/portal/projectrequestview.py +++ b/portal/projectrequestview.py @@ -106,6 +106,7 @@ class ProjectRequestView(LoginRequiredAutoLogoutView, ThemeView): 'authority_hrn' : wsgi_request.POST.get('authority_name', ''), 'project_name' : project_name, 'purpose' : wsgi_request.POST.get('purpose', ''), + 'url' : wsgi_request.POST.get('url', ''), } # for new projects max project_name length is 10 diff --git a/portal/templates/projectrequest_view.html b/portal/templates/projectrequest_view.html index 85582280..aabda751 100644 --- a/portal/templates/projectrequest_view.html +++ b/portal/templates/projectrequest_view.html @@ -73,7 +73,13 @@ {% endif %} - +
+ + +
diff --git a/portal/templates/slicerequest_view.html b/portal/templates/slicerequest_view.html index 2bb1e50f..fbbd2b11 100644 --- a/portal/templates/slicerequest_view.html +++ b/portal/templates/slicerequest_view.html @@ -44,11 +44,12 @@ +