{% if data is not none and "hazards" in data %}
{% if data["hazards"] %}
{% set hazard_titles = {1: 'Explosive', 2: 'Flammable', 3: 'Oxidizing', 4: 'Compressed Gas', 5: 'Corrosive', 6: 'Toxic', 7: 'Harmful', 8: 'Health Hazard', 9: 'Environmental Hazard'} %}
{% for hazard_index in data["hazards"] %}
![{{ hazard_titles[hazard_index] }} GHS0{{ hazard_index }}]({{ url_for('static', filename='img/ghs0{}.png'.format(hazard_index)) }})
{% endfor %}
{% else %}
—
{% endif %}
{% else %}
{{ _('Unknown') }}
{% endif %}
{{ _('Your input is not valid. Please check.') }}
{# Form #}