{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "My Glucose Manager" %}{% endblock %} {% block content %}
{% csrf_token %} {{ form.non_field_errors }}
{% trans "Weights" %}

{% if form.weight.errors %}
{{ form.weight }}
{% else %}
{{ form.weight }}
{% endif %}
{% if form.date_weights.errors %}
{{ form.date_weights }}
{% else %}
{{ form.date_weights }}
{% endif %}
{% trans "Last weights" %} {% for line in data %} {% endfor %}
{% trans "Weight" %} {% trans "Date" %} {% trans "Actions" %}
{{ line.weight }} {{ line.date_weights }}
{% endblock %} {% block extrajs %} {% endblock %}