{% from "macro/form.html" import render_modal_form %}
{% set title = gettext("Edit Record") + "#" + request.args.get("id") %}
{% set action = url_for(".edit_view", id=request.args.get("id"), url=return_url) %}
{{ render_modal_form(form,action,title,form_opts) }}