according to docs
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Custom-forms
it's form.custom.delete
On Sunday, August 18, 2013 10:07:32 PM UTC+2, Annet wrote:
>
> I have a custom form in which the check to delete checkbox isn't being
> displayed:
>
> {{=customform.custom.widget.delete_record}}
>
> What is the correct syntax to get the box displayed?
>
>
> Kind regards,
>
> Annet
>
>
> {{if customform:}}
> <form action="" enctype="multipart/form-data" method="post"
> class="form-inline">
> <fieldset style="text-align: center;">
> <div class="control-group">
> <div class="controls">
> {{=customform.custom.widget.contents}}
> </div> <!-- /.controls -->
> </div> <!-- /.control-group -->
> <div class="control-group">
> <div class="controls">
> {{=customform.custom.widget.delete_record}}
> </div> <!-- /.controls -->
> </div> <!-- /.control-group -->
> <div class="control-group">
> <div class="controls">
> {{=customform.custom.submit}}
> <a class="btn" href="javascript:history.go(-1);">Cancel</a>
> {{=customform.custom.end}}
> </div> <!-- /.controls -->
> </div> <!-- /.control-group -->
> </fieldset>
> {{pass}}
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.