[Grok-dev] megrok.layout default templates for form views
Jan-Jaap Driessen
jdriessen at thehealthagency.com
Wed Jul 6 02:30:28 EDT 2011
On 5 July 2011 19:53, Jan-Jaap Driessen <jdriessen at thehealthagency.com> wrote:
> 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.
Exposed and fixed this bug in r122119:
http://svn.zope.org/megrok.layout/trunk/src/megrok/layout/components.py?rev=122119&view=rev
--
Jan-Jaap
More information about the Grok-dev
mailing list