{% extends "kegadmin/base.html" %} {% load kegweblib %} {% load crispy_forms_tags %} {% block title %}Kegbot Admin: Edit Tap: {{ tap.name }} | {{ block.super }}{% endblock %} {% block pagetitle %}Kegbot Admin: Edit Tap: {{ tap.name }}{% endblock %} {% block kegadmin-main %}
{% if not current_keg %}
{% crispy activate_keg_form %}
{% if available_kegs %}
{% csrf_token %}
{% endif %} {% else %}
Keg {{ current_keg }}
Tapped {{ current_keg.start_time }}
Volume {% volume current_keg.remaining_volume_ml %} remaining ({{ current_keg.percent_full|floatformat:2 }}% full)
{% crispy end_keg_form %}
Manually record a drink using the form below. You may leave the username field blank to add an anonymous pour.
{% csrf_token %}
{% if metric_volumes %} mL {% else %} oz {% endif %}
Manually record a spill using the form below. Spills are not attributed to any user and are not saved as an event. You may also update the keg's total spilled volume on the keg admin page.
{% csrf_token %}
{% if metric_volumes %} mL {% else %} oz {% endif %}
{% endif %}
{% crispy tap_settings_form %}
If you delete a tap with a keg currently attached, the keg will be taken offline and marked as finished.
{% crispy delete_tap_form %}
{% endblock %} {% block kb-extrajs %} {% endblock %}