[Grok-dev] megrok.layout default templates for form views

Jan-Jaap Driessen jdriessen at thehealthagency.com
Tue Jul 5 13:53:37 EDT 2011


Hi,

I am working with megrok.layout and am wondering why the
megrok.layout.components.Form class has the following template:

'''
grokcore.view.template('default_form_template')
'''

Where the AddForm, EditForm and DisplayForm have templates where the
html/head has been stripped out of:

'''
template = default_form_template
'''

Is this a typo or someone forgot to copy the template directive along?
I am getting duplicate html/head in my pages using the Form component.


Cheers,

Jan-Jaap


More information about the Grok-dev mailing list