Sorry, I answered only to the author..

This code:
def crudsearch():
    form=crud.search(db.posts)
    return dict(form=form)

returns a form like that: http://twitpic.com/1xmrao/full

I know how to deal with the forms that way, but I'm talking about the
search controls that holds operators ( greater, equals, starts.. etc)
is there any way to access and modify these controls, just as we do
with form controls?

tks

{{ }}'s

On Jun 17, 12:30 pm, mdipierro <[email protected]> wrote:
> crud.settings.formstyle='table2cols' or 'table3cols' or 'divs' or 'ul'
>
> and for every field you have
>
> db.table.field.label='...'
> db.table.field.comment='...'
> db.table.field.wdiget=....
>
> On Jun 17, 8:35 am, rochacbruno <[email protected]> wrote:
>
>
>
> > hello I did not find any documentation or example explaining how to
> > customize a form created with crud.search()
> > I would like to change the text displayed on the operators (dropdown)
> > and change layout that other controls are displayed
>
> > I can do that with Jquery and CSS, but I want to know which options I
> > have in Action level,
>
> > I tried consulting the crud.search on shell, some properties are
> > displayed and I will play a lot with them, before doing that, I want
> > to know if someone has any example or a resource link.
>
> > anybody does?
>
> > Thanks
>
> > { }'s
> > --http://rochacbruno.com.br

Reply via email to