Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{% if id > 3 %}

This will print out if $id is > 3

{% endif %}

For equal use ==

Loops

Code Block
{% for user in users %}

Name: {user.first_name} {user.last_name}

{% endfor %}

...