Skip to content

Commit

Permalink
Fix phrasing
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 16, 2018
1 parent 990ea4d commit ca6af2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sites/views.py
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion templates/add-error.html
Expand Up @@ -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 %}
Expand Down
2 changes: 1 addition & 1 deletion templates/add.html
Expand Up @@ -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>
Expand Down

0 comments on commit ca6af2a

Please sign in to comment.