Skip to content
Permalink
Browse files

Fix phrasing

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 16, 2018
1 parent 990ea4d commit ca6af2ab3129b994ae223f57df261c0704178d98
Showing with 3 additions and 3 deletions.
  1. +1 −1 sites/views.py
  2. +1 −1 templates/add-error.html
  3. +1 −1 templates/add.html
@@ -132,7 +132,7 @@ def add(request):
else:
context['reason'] = form.errors
if 'tos' in form.errors or 'ack_publishing' in form.errors:
context['reason'] = 'You need to accept the TOS and acknowledge data publication.'
context['reason'] = 'tos_pub'
return render(request, 'add-error.html', context)
else:
context['langs'] = Language.objects.order_by('name')
@@ -2,7 +2,7 @@
{% block content %}
<p class="text-danger lead">Something went wrong.</p>
{% if reason == 'tos' %}
<p class="text-danger">You did not accept the Terms of Service.</p>
<p class="text-danger">You need to accept the Terms of Service and acknowledge data publication.</p>
{% elif reason == 'duplicate' %}
<p class="text-danger">There is an entry for this page already — you should <a href="/edit/">request an edit</a>.</p>
{% else %}
@@ -64,7 +64,7 @@
<label class="checkbox mb-3">
<input name="tos" type="checkbox" required> I agree to the <a href="/tos/">Terms of Service and Privacy Policy</a>.</label>
<label class="checkbox mb-3">
<input name="ack_publishing" type="checkbox" required> I also acknowledge that all the information I submit will be displayed publicly. You may revise or remove all information at any time by e-mailing the site administrators.
<input name="ack_publishing" type="checkbox" required> I acknowledge that all the information I submit will be displayed publicly. You may revise or remove all information at any time by e-mailing the site administrators.
</label>
<button type="submit" class="btn btn-primary">Request addition</button>
</div>

0 comments on commit ca6af2a

Please sign in to comment.