That's in gluon\tools.py

On Thu, Sep 20, 2012 at 5:44 PM, Kevin Bethke <kevin.bet...@gmail.com> wrote:
> I'm using the standard auth_user. there is a checkbox remember me for 30
> days. I can't find anything like that in the db.
>
>
> On Thu, Sep 20, 2012 at 9:09 AM, Johann Spies <johann.sp...@gmail.com>
> wrote:
>>
>> On 19 September 2012 19:54, BlueShadow <kevin.bet...@gmail.com> wrote:
>>>
>>> Hi,
>>> I like to change the layout of a couple forms for example for the login
>>> form.
>>> in my default/user.html the form is just called by
>>> {{=form}}
>>> I found this on the webtopy site:
>>>
>>> {{=form.custom.begin}}
>>> Image name: <div>{{=form.custom.widget.name}}</div>
>>> Image file: <div>{{=form.custom.widget.file}}</div>
>>> Click here to upload: {{=form.custom.submit}}
>>> {{=form.custom.end}}
>>> but I got no idea how to view the checkbox etc.
>>> Is there a more comprehensible example
>>
>>
>> The 'checkbox etc' will be part of the Field definition of the form as in
>> this example 'name' and 'file'.
>> So if you have a field using a checkbox widget (say 'your_preference')
>> you will see the checkbox when you put
>> {{=form.custom.widget.your_preference}} in the above example.
>>
>> Regards
>> Johann
>>
>>
>>
>>
>> --
>> Because experiencing your loyal love is better than life itself,
>> my lips will praise you.  (Psalm 63:3)
>>
>> --
>>
>>
>>
>
>
> --
>
>
>

-- 



Reply via email to