uncloud/uncloud_v3/app/templates/app/product_detail.html

17 lines
334 B
HTML

<h1>{{ object.name }}</h1>
<form method="post" >
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Buy">
</form>
<ul>
{% for tf in timeframes %}
<li><a href="{% url 'product-order-tf' object.slug tf.slug %}">{{ tf }}</a>
{% endfor %}
</ul>
HERE we show a link to <a href="{{ productorder }}">order</a>.