<!-- results set --> [% IF input %] [% IF total_results %] A total of [% total_results %] movies were found. Displaying results [% ELSE %] No Results. [% END %] [% END %] <!-- input form --> <form> <input type="text" name="input" value="[% input %]" size="32"> <input type="submit" name="search" value="Search"> </form>
Example 1: Typical template with invariant data.