Add:
ondelete = 'NO ACTION' to the field... that will make it not deletable.
They may still see the checkbox though.
On Tuesday, January 22, 2013 8:08:49 AM UTC-7, sasogeek wrote:
>
> #model
> db.define_table(
> auth.settings.table_user_name,
> Field('profile_picture', 'upload',))
>
> #controller
> def user():
> form=auth()
> return dict(form=form)
>
> #view
> {{=form}}
>
> How do I disable the delete feature? it appears like so on the page...
>
> Profile Picture [uploaded image] [file|*delete]
>
>
> How do i make that delete feature disappear...?
>
--