mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 12:29:24 +00:00
Improve the click view, the total is computed, but there is still a lot of work
This commit is contained in:
@ -14,6 +14,15 @@
|
||||
<p><strong>Club: </strong> {{ counter.club }}</p>
|
||||
<p><strong>Products: </strong> {{ counter.products.all() }}</p>
|
||||
|
||||
<div>
|
||||
Customer: {{ customer }}
|
||||
<form method="post" action="{{ url('counter:click', counter_id=counter.id, user_id=customer.user.id) }}">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p() }}
|
||||
<input type="submit" value="CLICK" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user