Finish the functionnality of CounterMain

We now redirect correctly to CounterClick, providing a valid user
This commit is contained in:
Skia
2016-04-18 04:37:37 +02:00
parent 478d1ed876
commit a5118ef457
3 changed files with 41 additions and 8 deletions

View File

@ -18,7 +18,7 @@
<div>
{% if barmen %}
<p>Enter client code:</p>
<form method="post" action="{{ url('counter:click', counter_id=counter.id) }}">
<form method="post" action="{{ url('counter:details', counter_id=counter.id) }}">
{% csrf_token %}
{{ form.as_p() }}
<input type="submit" value="CLICK" />