db.define_table('emp',
Field('name') -- some of the data in this column has really long values.
)
db.define_table('emp_details',
Field('name'),requires=[IS_IN_DB(db,'employee.name')]),
Field('details')
)
I'm using SQLFORM.grid to manage the data in the above tables. The
SQLFORM.gr
Is it possible to set a width and height attribute using the following
IMG helper?
{{=IMG(_src=URL(r=request,c='static',f='init/businesscard/
image.jpg'))}}
Kind regards,
Annet
{{=IMG(_src=URL(r=request,c='static',f='init/businesscard/
image.jpg'),_width="200px",_height="200px")}}
2010/10/28 annet
> Is it possible to set a width and height attribute using the following
> IMG helper?
>
> {{=IMG(_src=URL(r=request,c='static',f='init/businesscard/
> image.jpg'))}}
>
>
> K
Hi there!
I'm having some troubles using an image as a substitute for a submit
button...
I'm generating the form in the controller and using a local image as
follows:
INPUT(_type="image", _value="Editar", _width="16", _height="16", _alt=
"Editar", _src="/"+request.application+"/static/images/e
4 matches
Mail list logo