Excellent - Thanks!

On 5 oct, 10:09, cjrh <[email protected]> wrote:
> <h1>Zone Title</h1>
> {{if 0:}}
>    {{for zone in zones:}}
>       {{=zone.code}}: {{=B(zone.description)}}<br />
>       {{pass}}
>    {{pass}}
>
> Change the zero ("0") to a one ("1") when you want the code back in.
>
> On Oct 5, 8:50 am, dederocks <[email protected]> wrote:
>
> > Hello,
> > I wish it were easier to write comments in views.
> > Right now, if I understand well, you need to add a '#' in each {{}}
> > sequence, but elements outside {{}} are still displayed.
> > And multiline comments don't work:
> > For example, if in a view I have:
>
> > <h1>Zone Title</h1>
> > {{'''for zone in zones:}}
> > {{=zone.code}}: {{=B(zone.description)}}<br />
> > {{pass'''}}
>
> > I get a ticket saying 'pass' is missing.
>
> > In case this is an easy fix...
>
> > Best regards,
>
> > André
>
>

Reply via email to