<table class="table">
    <caption>Past Parameters</caption>
    <tr>
        <th>Year</th>
        <th>Application Open Date</th>
        <th>Application Close Date</th>
        <th>Mileage Rate</th>
        <th>Labor Rate</th>
    </tr>
    {% for parameter in parameters_list %}
    <tr>
        <td>{{parameter.year}}</td>
        <td>{{parameter.appOpenDate.strftime('%Y/%m/%d')}}</td>
        <td>{{parameter.appCloseDate.strftime('%Y/%m/%d')}}</td>
        <td>{{parameter.mileageRate}}</td>
        <td>{{parameter.laborRate}}</td>
        <td>
            <a id="delete_parameters" href={{url_for('deleteParameters', pID = parameter.pID)}}>
                <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
            </a>
            <span class="glyphicon glyphicon-ok isCurrentParameter {% if not parameter.isCurrentParameter %} disabled {% endif %}" 
                  style="cursor:help;" 
                  title="Click this to make it the current cycle parameters"
                  id="set_current_parameters-{{parameter.pID}}"
                  onclick="set_current_parameters({{parameter.pID}})"></span>
        </td>
    </tr>
    {% endfor %}
</table>