{% extends "layout.html.jinja" %}
{% set title = "Helix Calculator" %}
{% block contents %}
    <div class="form_section">
        <h3>Download</h3>
    </div>
    {% if context['csv_available'] %}
        <div class="download">
            <a href="/result">
                <button>Download AutoCAD import file (.txt)</button>
            </a>
        </div>
        <div class="download">
            <a href="/documentation">
                <button>Download Project Report (.pdf)</button>
            </a>
        </div>
        <div class="download">
            <a href="/bom">
                <button>Download BOM (.txt)</button>
            </a>
        </div>
    {% else %}
        Please complete previous steps first!
    {% endif %}
    {% include "navigation_buttons.html.jinja" %}
{% endblock %}
