{% if result %}
    <span class="lead">
        The result is <span class="label label-success">{{ result }}</span>
    </span>
{% else %}
    <span class="text-muted">
        Click the <em>Calculate</em> button to find the answer.
    </span>
{% endif %}