{% extends "goflow/base_site.html" %} {% load i18n admin_modify static %} {% block extrahead %}{{ block.super }} {% endblock %} {% block content %} {% block content_header %}

Model edition

This is a default form used by the generic application: You may use a suitable form by setting the form_class parameter in the urls.py file as follows:
	    (r'^myedit/(?P.*)/$', 'goflow.workflow.applications.edit_model', {'form_class':MyModelForm, template='my_template.html'}),
	
You should provide a form as documented here, and inheriting of goflow.runtime.forms.BaseForm.

You may also define a suitable template (the default is edit_model.html) with the template parameter. This template can access the following variables:

{% endblock %} {% block content_form %} {% if form.is_multipart %}
{% else %} {% endif %} {% csrf_token %} {% load apptools_lib %} {% form_ext form %} {% block buttons_form %}{% input_buttons %}{% endblock %}
{% endblock %} {% endblock %}