On 19 September 2012 19:54, BlueShadow <[email protected]> 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