Changes between Version 14 and Version 15 of NewAdminChanges


Ignore:
Timestamp:
Oct 23, 2005, 10:33:48 PM (19 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