replace
{{=form.element('table')}}
with
{{ del form.element('table')[-1]}}
{{=form.element('table')}}
On Friday, 25 May 2012 01:01:27 UTC-5, Annet wrote:
>
> I made a little progress:
>
> <div class="form-header">
> </div>
>
> <div class="form-body">
> {{=form.custom.begin}}
> {{=form.element('table')}}
> </div>
>
> <div class="form-footer">
> {{=form.custom.end[1]}}
> {{=form.custom.submit}}
> <input class="btn" type="button" value="Cancel"
> onclick="javascript:history.go(-1);">
> {{=form.custom.end[0]}}
> </div>
>
> The problem is that {{=form.element('table')}} also contains the submit
> and cancel button, and that the submit button in the form-footer doesn't
> work.
>
> Is there a way to solve this problem?
>
> Annet
>