{% if form %} {% include './editor.html' %} {% else %} {% include './detail.html' %} {% endif %}