Changes between Version 14 and Version 15 of NewAdminChanges


Ignore:
Timestamp:
10/23/05 22:33:48 (9 years ago)
Author:
ian@…
Comment:

add an example of how to use inline stuff on a template

Legend:

Unmodified
Added
Removed
Modified
  • NewAdminChanges

    v14 v15  
    171171}}}
    172172
     173== how to use this on your page ==
     174you would need to add the following snippet to your template to display the editable choices in the poll form.
     175{{{
     176{% for choice in form.choices %}
     177 {{ choice.id }}
     178 {{ choice.name }}
     179 {{ choice.votes }}
     180{% endfor %}
     181}}}
     182
    173183== Templates ==
     184
    174185
    175186A new tag, called {{{include}}}, which is an improvement on ssi parsed. See #598.
Back to Top