Hi Anthony,
Indeed, eyes like an eagle.
After adding the missing ')', I still got the same error. I had to remove
both comments # hidden field and # </form> to get rid of the errors.
In the generic.html view I now have:
{{=form.custom.begin}}
{{#<!-- Add header here -->}}
{{=form.element('table')}}
{{#<!-- Add footer here -->}}
{{=DIV(form.custom.end[1])}}
{{#<!-- Add submit/cancel buttons here - you may even not use the submit
variable -->}}
{{=form.custom.end[0]}}
Which results in a page that displays:
<div><form action="" enctype="multipart/form-data"
method="post">...</form></div><div><button
onclick="document.location='/admin/default/design/bootstrap'">design</button>...</table></div></div><script><!--jQuery('.hidden').hide()//--></script></div>
<form action="" enctype="multipart/form-data" method="post"><table>...</table>
It displays the form twice and shows the development buttons? I am using web2py
1.99.7.
Kind regards,
Annet