Ordering a {{ product }} instance for {{ timeframe }}

we are here?!


<form method="post" >
  {% csrf_token %}
  {{ form.as_p }}
  {% for res in product.resources.all %}
  <li>
    {% if res.minimum_units and res.maximum_units %}
    <input type="range" id="{{res.slug}}" name="{{res.slug}}"
             min="{{ res.minimum_units }}" max="{{ res.maximum_units
                                                }}">
    {% else %}
    <input type="text" id="{{res.slug}}" name="{{res.slug}}">

    {% endif %}
  </li>
  {% endfor %}

    <input type="submit" value="Next">
</form>
