summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
Diffstat (limited to 'website')
-rwxr-xr-xwebsite/forms.py1
-rw-r--r--website/models.py1
-rw-r--r--website/views.py12
3 files changed, 9 insertions, 5 deletions
diff --git a/website/forms.py b/website/forms.py
index 67bfc9f..a08c9ee 100755
--- a/website/forms.py
+++ b/website/forms.py
@@ -155,6 +155,7 @@ class ProposalForm(forms.ModelForm):
)
open_to_share = forms.ChoiceField(choices=CHOICES, widget=forms.RadioSelect(), required=True,
label='I agree to publish my content',)
+ terms_and_conditions = forms.BooleanField(widget=forms.CheckboxInput(), required=True, label='I agree to the terms and conditions')
class Meta:
model = Proposal
diff --git a/website/models.py b/website/models.py
index f5b004a..d550548 100644
--- a/website/models.py
+++ b/website/models.py
@@ -51,6 +51,7 @@ class Proposal(models.Model):
proposal_type = models.CharField(max_length=100)
tags = models.CharField(max_length=250)
open_to_share = models.CharField(max_length=2, default=1)
+ terms_and_conditions = models.BooleanField(default= 'True')
class Ratings(models.Model):
diff --git a/website/views.py b/website/views.py
index 95c0808..71c8f8f 100644
--- a/website/views.py
+++ b/website/views.py
@@ -223,14 +223,16 @@ def submitcfp(request):
context['proposal_submit'] = True
sender_name = "NCCPS 2018"
sender_email = TO_EMAIL
- subject = "NCCPS 2018 – Talk Proposal Submission Acknowledgment"
+ subject = "NCCPS 2018 – Paper Submission Acknowledgement "
to = (social_user.email, TO_EMAIL)
message = """
Dear {0}, <br><br>
- Thank you for showing interest & submitting a paper proposal at NCCPS 2018 conference for the paper titled <b>“{1}”</b>. Reviewal of the proposals will start once the CFP closes.
- <br><br>You will be notified regarding comments/selection/rejection of your paper via email.
- Visit this {2} link to view status of your submission.
- <br>Thank You ! <br><br>Regards,<br>NCCPS 2018,<br>FOSSEE - IIT Bombay.
+ Thank you for showing interest & submitting a paper proposal at NCCPS-2018
+ for the paper titled “test title paper”. Reviewal of the proposals will start
+ once the CFP closes.
+ You will be notified regarding comments/selection/rejection of your paper via email.
+ Visit this {2} link to view the status of your submission.
+ <br>Thank You. <br><br>Regards,<br>NCCPS 2018,<br>FOSSEE - IIT Bombay.
""".format(
social_user.first_name,
request.POST.get('title', None),