counter_click.jinja 609 Bytes
Newer Older
Skia's avatar
Skia committed
1
2
{% extends "core/base.jinja" %}

Skia's avatar
Skia committed
3
4
5
6
7
8
9
10
{% macro barman_logout_link(user) %}
<form method="post" action="{{ url('counter:logout', counter_id=counter.id) }}" class="inline">
    {% csrf_token %}
    <input type="hidden" name="user_id" value="{{ user.id }}">
    <button type="submit" name="submit_param" value="submit_value" class="link-button">{{ user.get_display_name() }}</button>
</form>
{% endmacro %}

Skia's avatar
Skia committed
11
12
13
14
15
{% block content %}
    <h3>Counter</h3>
    <h4>{{ counter }}</h4>
    <p><strong>Club: </strong> {{ counter.club }}</p>
    <p><strong>Products: </strong> {{ counter.products.all() }}</p>
Skia's avatar
Skia committed
16

Skia's avatar
Skia committed
17
18
19
20
{% endblock %}