{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
{% if category == 'message' %}
{% else %}
{% endif %}
{{ message|safe }}
{% endfor %}
{% endif %}
{% endwith %}
{{_('Duplicate Plots')}}
{% if plot_warnings.duplicates|length > 0 %}
{% else %}
{{_('Great! No duplicate plots reported amongst the workers on your farm.')}}
{% endif %}
{{_('Invalid Plots')}}
{% if plot_warnings.invalids|length > 0 %}
{% else %}
{{_('Great! No invalid plots reported amongst the workers on your farm.')}}
{% endif %}
{{_('Missing Keys')}}
{% if plot_warnings.missingkeys|length > 0 %}
{% else %}
{{_('Great! No plots with missing keys were reported amongst the workers on your farm.')}}