{% extends "base.html" %} {% load i18n %} {% load staticfiles %} {% load wger_extras %} {% block header %} {% endblock %} {% block title %}{% trans "BMI calculator" %}{% endblock %} {% block content %}
{% csrf_token %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %}

{% trans error %}

{% endfor %}
{% endif %} {% for current_field in form %} {% yaml_form_field current_field %} {% endfor %}

{% trans 'Results' %}

{% trans 'Your BMI is: ' %} {{user.userprofile.calculate_bmi|floatformat:2}}

{% trans "Legend" %}

 
{% trans "Adipositas III" %}
 
{% trans "Adipositas II" %}
 
{% trans "Adipositas I" %}
 
{% trans "Overweight" %}
 
{% trans "Normal weight" %}
 
{% trans "Slight underweight" %}
 
{% trans "Moderate underweight" %}
 
{% trans "Strong underweight" %}
{% endblock %} {% block sidebar %}

Info

{% blocktrans %}Use the form to calculate your BMI (Body Mass Index). If you have entered data in the weight section, the last entry will be used automatically. Otherwise the weight you enter here will be saved in a new entry.{% endblocktrans %}

{% endblock %}