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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to