{% extends "layout.jinja" %} {% from "macros.jinja" import left_arrow, right_arrow %} {% set fmt="%m.%Y" %} {% block heading %} Konstante Kosten {% endblock %} {% block content %}
Bearbeiten Erstelle neuen auf dem jetzigen basierenden Eintrag
{% if exp.prev %} {{ left_arrow(url_for(".show", id = exp.prev.id), target(exp.prev)) }} {% endif %} {% if exp.next %} {{ right_arrow(url_for(".show", id = exp.next.id), target(exp.next)) }} {% endif %} {% endblock %} {% macro target(p) -%} {{ p.description }} ({{ p.start | date(fmt) ~ "-" ~ p.end | date(fmt) }})