{% extends "base.html" %}
{% block content %}
<p class="text-danger lead">Something went wrong.</p>
{% if reason == 'tos' %}
<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 %}
<p class="text-danger">Possible causes include:</p>

<ul>
    <li><p class="text-danger">This page already exists in our database (and you
        should <a href="/edit/">request an edit</a>)</p></li>
    <li><p class="text-danger">Some fields were empty</p></li>
    <li><p class="text-danger">Some fields were too long</p></li>
    <li><p class="text-danger">Some fields were missing</p></li>
</ul>
<p>Error list:</p>
{{ reason }}
{% endif %}

<p>Please press the Back button and fix those problems.</p>
{% endblock %}

{% extends "base.html" %}
{% block content %}
<p class="text-danger lead">Something went wrong.</p>
{% if reason == 'tos_pub' %}
<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 %}
<p class="text-danger">The following errors occurred:</p>
<div class="text-danger">
{{ reason }}
</div>

{% endif %}

<p>Please press the Back button and fix those problems.</p>
{% endblock %}

Fix display of ToS/publication error
Fix display of ToS/publication error

Signed-off-by: Chris Warrick <de6f931166e131a07f31c96c765aee08f061d1a5@gmail.com>
