{% extends "base.html" %} {% block content %} {% load static %}
{% if "Very Good" in text %}

{{ result.pm2_5 }}

{{ text }}

{% elif "Good" in text %}

{{ result.pm2_5 }}

{{ text }}

{% elif "Moderate" in text %}

{{ result.pm2_5 }}

{{ text }}

{% elif "Very Unhealthy" in text %}

{{ result.pm2_5 }}

{{ text }}

{% elif "Unhealthy" in text %}

{{ result.pm2_5 }}

{{ text }}

{% endif %}
{% endblock %}