def form_ext(form):
    """
    This will insert a form, in a bit more sophisticated way than {{ form }}.

    Required and optional fields are displayed differently. For details,
    see template file *goflow/apptools/edit_form.html*.

    parameter:

    form
        form variable

    Usage::

        {% form_ext form %}

    the current implementation is equivalent to::

        {% include "goflow/apptools/edit_form.html" %}
    """
    return {'form': form}
