{% extends 'base.html' %} {% block title %}{% if material %}Modifier{% else %}Nouvelle{% endif %} matière{% endblock %} {% block content %}
1 rouleau ≈ 1000 g
Annuler
{% if history %}
Historique des prix
{% for h in history %} {% endfor %}
Date€/kg
{{ h.recorded_at[:10] }} {{ h.price_per_kg }} €
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}