diff options
author | prathamesh | 2014-12-06 18:16:22 +0530 |
---|---|---|
committer | prathamesh | 2014-12-06 18:16:22 +0530 |
commit | c60a0cb696f19e8541422170e94ee2e717a67c13 (patch) | |
tree | b99dfb3138cb257af3e1bf934d1498ecafc3ef56 /certificate | |
parent | 234711a3724c8ad27422bbc76998e41b50265521 (diff) | |
download | certificate-generator-c60a0cb696f19e8541422170e94ee2e717a67c13.tar.gz certificate-generator-c60a0cb696f19e8541422170e94ee2e717a67c13.tar.bz2 certificate-generator-c60a0cb696f19e8541422170e94ee2e717a67c13.zip |
commented fields
Diffstat (limited to 'certificate')
-rw-r--r-- | certificate/forms.py | 24 | ||||
-rw-r--r-- | certificate/templates/feedback.html | 2 |
2 files changed, 13 insertions, 13 deletions
diff --git a/certificate/forms.py b/certificate/forms.py index 321ffba..396da11 100644 --- a/certificate/forms.py +++ b/certificate/forms.py @@ -4,15 +4,15 @@ from certificate.models import FeedBack class FeedBackForm(forms.Form): name = forms.CharField(max_length=30) email = forms.EmailField() - phone = forms.CharField(max_length=15) - organisation = forms.CharField(max_length=30) - department = forms.CharField\ - (max_length=64) - role = forms.CharField\ - (max_length=64) - address = forms.CharField(max_length=256, widget=forms.Textarea(attrs={'rows':1})) - city = forms.CharField(max_length=30) - pincode_number = forms.CharField\ - (max_length=30) - state = forms.CharField\ - (max_length=128) + #phone = forms.CharField(max_length=15, required=False) + #organisation = forms.CharField(max_length=30) + #department = forms.CharField\ + # (max_length=64) + #role = forms.CharField\ + # (max_length=64) + #address = forms.CharField(max_length=256, widget=forms.Textarea(attrs={'rows':1})) + #city = forms.CharField(max_length=30) + #pincode_number = forms.CharField\ + # (max_length=30, required=False) + #state = forms.CharField\ + # (max_length=128) diff --git a/certificate/templates/feedback.html b/certificate/templates/feedback.html index e3be32d..015d632 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" >Skip</a></span> + <span><a href="{% url 'certificate:download' %}" class="btn btn-lg btn-primary" >I have already submitted</a></span> </div> </form> <hr> |