{% extends "layout.html" %} {% from "macros.html" import render_form %} {% block title %}Register{% endblock %} {% block content %} {{ render_form(form, action_url=url_for(".register", id=id), action_text="Add", title="Register") }} {% endblock %}