Hi,

I want to display a form with the following code :

def display_line():
    T = current.T
    try:
        return TR(
            TD(id),
            TD(file_name),
            TD(file_size),
            TD(file_type),
            TD(INPUT(_type='submit', _name=T('Rename'), _value=T('Rename'
))),
            TD(INPUT(_type='submit', _name=T('Delete'), _value=T('Delete'
))),
            TD(INPUT(_type='submit', _name=T('Details'), _value=T('Details'
))),
            TD(INPUT(_type='checkbox', _value=id))
            )
    except (AttributeError, KeyError):
        return


def get_filesystem_form():
    T = current.T
    files_html = []

    # get files list
    file_list = files.load()

    for _file in file_list:
        files_html.append(display_line(_file))
    return FORM(TABLE(*files_html), _width='100%')




And everything looks fine except that checkboxes don't appear.

Any idea ?

w2p : 2.15.4 python : 3.5.3


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to