Improve launderette, need to finish the click view

This commit is contained in:
Skia
2016-08-01 16:36:16 +02:00
parent ba48adab6d
commit 4d8e7b0875
13 changed files with 237 additions and 24 deletions

View File

@ -16,6 +16,10 @@
</form>
{% endmacro %}
{% block title %}
{{ counter }}
{% endblock %}
{% block content %}
<h3>{% trans %}Counter{% endtrans %}</h3>
<h4>{{ counter }}</h4>

View File

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