diff options
-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> |