summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--certificate/templates/base.html1
-rw-r--r--certificate/templates/feedback.html2
-rw-r--r--certificate/views.py14
3 files changed, 8 insertions, 9 deletions
diff --git a/certificate/templates/base.html b/certificate/templates/base.html
index bf0dd98..bd0b5b7 100644
--- a/certificate/templates/base.html
+++ b/certificate/templates/base.html
@@ -25,7 +25,6 @@
<h1>FOSSEE</h1>
<hr>
- <br><br>
{% block content %}
{% endblock %}
</div>
diff --git a/certificate/templates/feedback.html b/certificate/templates/feedback.html
index 015d632..bddd360 100644
--- a/certificate/templates/feedback.html
+++ b/certificate/templates/feedback.html
@@ -14,7 +14,7 @@
<textarea cols="80" class="form-control" id="{{ question.id }}" name="{{ question.id }}"></textarea><br>
{% endfor %}
<span><button class="btn btn-lg btn-primary" type="submit">Submit</button></span>
- <span><a href="{% url 'certificate:download' %}" class="btn btn-lg btn-primary" >I have already submitted</a></span>
+ <span><a href="{% url 'certificate:download' %}" >I have already submitted</a></span>
</div>
</form>
<hr>
diff --git a/certificate/views.py b/certificate/views.py
index 5a532e2..4e509bd 100644
--- a/certificate/views.py
+++ b/certificate/views.py
@@ -217,13 +217,13 @@ def feedback(request):
feedback = FeedBack()
feedback.name = data['name'].strip()
feedback.email = data['email'].strip()
- feedback.phone = data['phone'].strip()
- feedback.institution = data['organisation'].strip()
- feedback.role = data['role'].strip()
- feedback.address = data['address'].strip()
- feedback.city = data['city'].strip()
- feedback.pin_number = data['pincode_number'].strip()
- feedback.state = data['state'].strip()
+ #feedback.phone = data['phone'].strip()
+ #feedback.institution = data['organisation'].strip()
+ #feedback.role = data['role'].strip()
+ #feedback.address = data['address'].strip()
+ #feedback.city = data['city'].strip()
+ #feedback.pin_number = data['pincode_number'].strip()
+ #feedback.state = data['state'].strip()
feedback.submitted = True
feedback.save()
for question in questions: