{% extends "layout.html" %} {% from "macros.html" import render_form %} {% block title %}Protokoll anlegen{% endblock %} {% block content %}

Neues Protokoll

{{render_form(form, action_url=url_for("new_protocol"), action_text="Anlegen")}}

Neues Protokoll hochladen

{{render_form(upload_form, action_url=url_for("upload_new_protocol", fail=url_for("new_protocol")), action_text="Hochladen", enctype="multipart/form-data")}}
{% endblock %}