{% if password == 'bluesteel' %}

Private stuff here!

{% else %}
     
{% form 'password' %}
<input type="password" name="password">
<button type="submit">Submit</button>
{% endform %}

{% endif %}

Did this answer your question?